htaccess handler
- by Steve
Hi Everyone,
I have strange problem that need help. It is about rewrite using apache.
Here my .htaccess content file:
Options +FollowSymLinks
 ## This is an example .htaccess-file
 ## To get everything automatically parsed, the following line is needed
 #set link auto on
 ##From now on, every RewriteRule gets recognised.
 RewriteEngine on
 RewriteRule captcha(\.html){0,1}$  captcha.php [QSA,L]
 RewriteCond %{SCRIPT_FILENAME} !-s
 RewriteCond %{SCRIPT_FILENAME} !-d
 RewriteCond %{SCRIPT_FILENAME} !-f
 Rewriterule (.*) handler.php
 ##You can also change the text before the real link by the following line
With this rule, I am hoping that all request except there is exists in file or directory will be directed to my custom handler: handler.php.
Everyting just fine as expected but this case not:
http://../test/form_login/query=%2Ftest%2Findex.php%3Fpage%3Dform&
Root url: /test/,
form_login is not file or directory
index.php is exists in the root.
Apache response with : 404 Page Not Found
Thanks for any of your help.
Regards,
Steve