Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
Code: Alles auswählen
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(((.*)\.php))$ /index.php?%REQUEST_QUERY
</IfModule>
Code: Alles auswählen
$virtualFileName = basename($_SERVER["REQUEST_URI"]);
nicht addtype, forcetype.Es ist mit .htaccess (addtype)
Thomas, wohl doch mit addtype:manute hat geschrieben:nicht addtype, forcetype.Es ist mit .htaccess (addtype)
Code: Alles auswählen
# php-Parser auch für .htm-Dateien einschalten
AddType x-mapp-php4 .htm
sowas geht doch nicht nur mit addtype. das geht, indem man eine datei namens "forum" per forcetype von php ausführen lässt und dann da die $_SERVER[REQUEST_URI] ausliest und sich die variablen dann da raus holt.Muss nicht unbedingt mit php endung sein...
z.B. https://www.webmaster-community.com/forum/forum4.html
Original url sieht so aus...
https://www.webmaster-community.com/for ... um.php?f=4
Code: Alles auswählen
<Files viewforum>
ForceType application/x-httpd-php
</Files>
<Files viewtopic>
ForceType application/x-httpd-php
</Files>
<Files viewonline>
ForceType application/x-httpd-php
</Files>