.htaccess RewriteRule causing 403 Forbidden

.htaccess, apache, http-status-code-403, php, recess

Solution

As it turns out, I needed to change the line:

Options FollowSymLinks

to:

Options +FollowSymLinks

Problem

I'm trying to install the Recess PHP framework on my web host (Dreamhost). 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. PHP runs under the same user that owns the files. The following URLs result in 403s: - 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 The following URLs don't: - 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 What would cause this to happen?

Original source