PHP rewrite giving 404, .htaccess problem?
Posted
by
Hamid
on Stack Overflow
See other posts from Stack Overflow
or by Hamid
Published on 2011-01-06T10:47:31Z
Indexed on
2011/01/06
10:53 UTC
Read the original article
Hit count: 238
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?
© Stack Overflow or respective owner