Recess PHP Framework Install Results in 403 Forbidden Errors

software development

#1

I’m trying to install the Recess PHP Framework. It includes the following .htaccess:

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:

[list]
[] http://test.dd.moofz.com/
[
] http://test.dd.moofz.com/recess-conf.php
[] http://test.dd.moofz.com/index.php
[
] http://test.dd.moofz.com/bootstrap.php
[*] http://test.dd.moofz.com/MIT-LICENSE
[/list]

The following URLs don’t:

[list]
[] http://test.dd.moofz.com/.gitignore
[
] http://test.dd.moofz.com/httpd_logo_wide.gif
[] http://test.dd.moofz.com/README.textile
[
] http://test.dd.moofz.com/the-book-of-recess.pdf
[/list]

What would cause this to happen?


#2

Try changing the first line to the following:

Options +FollowSymLinks


#3

Thanks! That fixed it. I swear I had tried the same thing yesterday to no effect.