Reputation: 4430
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?
Upvotes: 0
Views: 316
Reputation: 23759
Check for mod_negotiation to be disabled. It gives unexpected results in combination with mod_rewrite.
Upvotes: 1
Reputation: 329
Can you please check whether mod_rewrite is enable or not in your php.ini file. If not then please enable that.
Upvotes: 0
Reputation: 2706
I think you need to modify your httpd.conf to allow for AllowOverride All
What does your error log say?
Upvotes: 0