htaccess
tester
- webserver
hallo !
würde gerne mit htaccess alle *.html datei-anfragen des ordners so umformen, dass die datei index.html?sel=* aufgerufen wird?
leider klappt das hier nicht:
AddType application/x-httpd-parse .html
Action application/x-httpd-parse "./index.php?sel="
danke!
Hallo,
mach das doch mit der Rewrite Engine:
RewriteEngine On
RewriteBase /
RewriteRule ^([a-z|A-Z|0-9|_-]+).html$ index.html?sel=$1.html
Viel Spaß, Matthias
AddType application/x-httpd-parse .html
Action application/x-httpd-parse "./index.php?sel="
Das funzt mit der RewriteEngine von Apache:
RewriteEngine on
RewriteRule ^([^/]+).html$ /index.php?sel=$1 [R,L]
Das sollte gehen
MfG