Installing WordPress : Two tips for fixing Apache problems

1. If something is going wrong (i.e. in my case getting a 403 Forbidden error for pages that should be accessible) the first thing to do is check the error logs. Don’t even try to fix the problem until you’ve looked in the error log. “tail” is a very useful command to find out just what last went wrong:

elharo@cafe:/usr/httpd/logs$ tail -4 cafe.elharo.com-error_log
[Mon Jan 02 18:29:45 2006] [error] [client 216.254.67.87] Options FollowSymLinks or
SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
/var/www/cafe/wordpress/
[Mon Jan 02 18:30:07 2006] [error] [client 216.254.67.87] Options FollowSymLinks or
SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
/var/www/cafe/wordpress/
[Mon Jan 02 18:32:06 2006] [error] [client 216.254.67.87] Options FollowSymLinks or
SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
/var/www/cafe/wordpress/
[Mon Jan 02 18:32:10 2006] [error] [client 216.254.67.87] Options FollowSymLinks or
SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
/var/www/cafe/wordpress/index.php

2. If the error in the log happens to be, “Options FollowSymLinks or
SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden” add Options +FollowSymLinks to your .htaccess file in the affected directory, right before you turn on the rewrite engine. i.e.

Options +FollowSymLinks

RewriteEngine On

Tips from : http://www.elharo.com/blog/

1 Votes | Average: 5 out of 51 Votes | Average: 5 out of 51 Votes | Average: 5 out of 51 Votes | Average: 5 out of 51 Votes | Average: 5 out of 5 (1 votes, average: 5 out of 5)
Loading ... Loading …

Leave a Reply

You must be logged in to post a comment.