djp1988 Posted March 4, 2011 Share Posted March 4, 2011 Hello, I've been playing around with my server and just noticed an older project has stopped working, I've tracked the error down to a line in my .htaccess file. RewriteRule ^info/([0-9]+)/([0-9]+)/([0-9]+)/ getInfo.php?year=$1&month=$2&day=$3 [QSA] This throws a Forbidden error: You don't have permission to access /site/getInfo.php on this server.The curious thing is I tried changing that line to point to a html document, and there were not errors, what in my configuration could be causing this to be wrong for php files and not html files ? Link to comment Share on other sites More sharing options...
ProblemHelpPlease Posted March 5, 2011 Share Posted March 5, 2011 Thats a weird one, I presume that you had the html file you tested with in the same directory as the php file, just ruling out a directory issue. Have you tried a different php file, its not a chmod issue on the php file ist it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.