PHP ver gevorderde |
|
<IfModule mod_rewrite.c>
Options FollowSymLinks
# Turn on Engine
RewriteEngine on
# Check if REQUEST_FILENAME is an existing file in the DOCUMENT_ROOT
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/(.*)/(.*)$ http://85.12.25.45/~insidewii/$1.php?game=$2&actie=$3 [NC,L]
RewriteRule ^(.*) http://85.12.25.45/~insidewii/$1.php [NC,L]
</IfModule>
<IfModule mod_rewrite.c> Options FollowSymLinks # Turn on Engine RewriteEngine on # Check if REQUEST_FILENAME is an existing file in the DOCUMENT_ROOT RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)/(.*)/(.*)$ http://85.12.25.45/~insidewii/$1.php?game=$2&actie=$3 [NC,L] RewriteRule ^(.*) http://85.12.25.45/~insidewii/$1.php [NC,L] </IfModule>
Hier is hij veranderd en de strenge aangepast (regel 10), maar nu doen ze het alle twee niet, ligt dit aan de [NC,L] ?
Edit :
RewriteRule ^(.*)/(.*)/(.*)$ http://85.12.25.45/~insidewii/$1.php?game=$2&actie=$3 [NC]
# RewriteRule ^(.*) http://85.12.25.45/~insidewii/$1.php [NC,L]
RewriteRule ^(.*)/(.*)/(.*)$ http://85.12.25.45/~insidewii/$1.php?game=$2&actie=$3 [NC] # RewriteRule ^(.*) http://85.12.25.45/~insidewii/$1.php [NC,L]
Hier werkt de eerste regel wel maar de 2e niet, die lijkt hem te overschrijven? |