rewrite problem ?

#1
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.
 
#3
no using httpd.conf
standard edition ( 4.0.10 )
logs:
2009-09-11 20:52:37.224 [INFO] [62.152.144.149:16444-0#kage.pl] [REWRITE] Rule: Match '/bleach/baundo/' with pattern '^bleach/(.*)/(.*)$', result: -1
2009-09-11 20:52:37.224 [INFO] [62.152.144.149:16444-0#kage.pl] [REWRITE] Rule: Match '/bleach/baundo/' with pattern '^bleach/(.*)$', result: -1
2009-09-11 20:52:37.224 [INFO] [62.152.144.149:16444-0#kage.pl] [REWRITE] Rule: Match '/bleach/baundo/' with pattern '^dragon/(.*)/(.*)$', result: -1
2009-09-11 20:52:37.224 [INFO] [62.152.144.149:16444-0#kage.pl] [REWRITE] Rule: Match '/bleach/baundo/' with pattern '^dragon/(.*)$', result: -1
2009-09-11 20:52:37.224 [INFO] [62.152.144.149:16444-0#kage.pl] File not found [/home/ssjcenter/public_html/bleach/baundo/]
 
Top