hello, i have simple rewrite rules
RewriteRule ^example/(.*)/(.*)$ /x.php?s=example&n=$1&p=$2 [L]
RewriteRule ^example/(.*)$ /x.php?s=example&n=$1 [L]
RewriteRule ^ex2/(.*)/(.*)$ /x.php?s=ex2&n=$1&p=$2 [L]
RewriteRule ^ex2/(.*)$ /x.php?s=ex2&n=$1 [L]
domain.pl / x.php
I need rewrite domain.pl/example, domain.pl/ex2 etc.
why its not working ? ( error 404 )
on apache is ok.
RewriteRule ^example/(.*)/(.*)$ /x.php?s=example&n=$1&p=$2 [L]
RewriteRule ^example/(.*)$ /x.php?s=example&n=$1 [L]
RewriteRule ^ex2/(.*)/(.*)$ /x.php?s=ex2&n=$1&p=$2 [L]
RewriteRule ^ex2/(.*)$ /x.php?s=ex2&n=$1 [L]
domain.pl / x.php
I need rewrite domain.pl/example, domain.pl/ex2 etc.
why its not working ? ( error 404 )
on apache is ok.