Apache MOD_REWRITE trouble
Posted on 2007-03-27
I am trying to set up mod_rewrite. in my httpd.conf file i have set it to load the mod_rewrite module, but when i try to set rewrite rules, it isn't working. here is my code:
RewriteRule ^/error/([0-9]+)$ /error-pages/$1.php
I don't get errors, but when i go to "/error/404" to test it, it tells me the page isnt found and DOESNT show my custom error page.