PHP rewrite giving 404, .htaccess problem?
- by Hamid
I have the following .htaccess:
#Options +FollowSymLinks
RewriteEngine on
RewriteBase /phptest
on my local testing server (http://localhost) I have to uncomment the first line for the site to work. Otherwise I get Error 403 (Forbidden).
Once I upload the page to my webserver (FastHosts) I get Error 500 (Internal Server Error) if the first line is not commented out.
If I comment it out, my page loads but it cannot find the page content which is mydomain.com/phptest/Home
I get a 404.
Any suggestions on what the problem might be?