Leser: 2
7 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
RewriteEngine On
#
# Rules
#
# rewrite if the given string is not an already existing file
RewriteCond %{REQUEST_FILENAME} !-f
# rewrite if the given string is not an existing directory
RewriteCond %{REQUEST_FILENAME} !-d
# rewrite to Lanas.pl with QUERYSTRING appended
RewriteRule (.*) /cgi-bin/Lanas.pl
1
2
3
4
5
6
7
8
9
RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif|css|js)
# rewrite if the given string is not an already existing file
RewriteCond %{REQUEST_FILENAME} !-f
# rewrite if the given string is not an existing directory
RewriteCond %{REQUEST_FILENAME} !-d
# rewrite to Lanas.pl with QUERYSTRING appended
RewriteRule (.*)(/(.*))? /cgi-bin/Lanas.pl?$1=$3
RewriteRule ^/?$ /cgi-bin/Lanas.pl
RewriteRule (.*)(/(.*))? /cgi-bin/Lanas.pl?$1=$3
QuoteDer Teil geht noch nicht - jemand Vorschläge?
Code: (dl )RewriteRule (.*)(/(.*))? /cgi-bin/Lanas.pl?$1=$3
RewriteRule ^(.*)/(.*)? cgi-bin/Lanas.pl?$1=$2
7 Einträge, 1 Seite |