Current time: 04-19-2014, 07:36 AM Hello There, Guest! (LoginRegister)

Post Reply 
Recess PHP Framework Install Results in 403 Forbidden Errors
04-09-2012, 12:28 PM
Post: #1
Recess PHP Framework Install Results in 403 Forbidden Errors
I'm trying to install the Recess PHP Framework. It includes the following .htaccess:

Code:
Options FollowSymLinks
RewriteEngine On
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ bootstrap.php [QSA,L]

This works fine on my machine (XAMPP 1.7.7 on Windows 7) but results in 403 Forbidden errors on some files my web host. All directory permissions are set to 755 and all file permissions are set to 644.

The following URLs result in 403s:

The following URLs don't:

What would cause this to happen?
Find all posts by this user
Quote this message in a reply
04-09-2012, 05:53 PM
Post: #2
RE: Recess PHP Framework Install Results in 403 Forbidden Errors
Try changing the first line to the following:

Options +FollowSymLinks

Customer since 2000 Cool openvein.org | Please don't feed the trolls. Angry
Visit this user's website Find all posts by this user
Quote this message in a reply
04-09-2012, 06:01 PM
Post: #3
RE: Recess PHP Framework Install Results in 403 Forbidden Errors
(04-09-2012 05:53 PM)Atropos7 Wrote:  Try changing the first line to the following:

Options +FollowSymLinks

Thanks! That fixed it. I swear I had tried the same thing yesterday to no effect.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: