- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^/rewritetest(.*) /test$1
I have a folder named test in htdocs with a file named "hello.php." My goal here is to have requests for http://localhost/rewritetest/hello.php go to http://localhost/test/hello.php. But every time I try it - no matter what I try - I get "Object Not Found - 404 Error." Anyone know what's going on here? What am I doing wrong?
(And yes, the "LoadModule" statement in the http.conf file is defs uncommented and in play. I've triple-checked at this point.)
Thanks.