From: Rich Bowen If, on the other hand, you are getting server errors when trying to
access documents, check your Apache error log. It will likely tell you
that the directive used in your
.htaccess
file is not
- permitted. Alternately, it may tell you that you had a syntax error,
- which you will then need to fix.
+ [Sat Aug 09 16:19:20 2008] [alert] [client 192.168.200.51] /var/www/html/.htaccess: RewriteLog not allowed here
+
This will indicate either that you've used a directive that is
+ never permitted in .htaccess
files, or that you simply
+ don't have AllowOverride
set to
+ a level sufficient for the directive you've used. Consult the
+ documentation for that particular directive to determine which is
+ the case.
Alternately, it may tell you that you had a syntax error in your + usage of the directive itself.
+ +
+ [Sat Aug 09 16:22:34 2008] [alert] [client 192.168.200.51] /var/www/html/.htaccess: RewriteCond: bad flag delimiters
+
In this case, the error message should be specific to the + particular syntax error that you have committed.
If, on the other hand, you are getting server errors when trying to
access documents, check your Apache error log. It will likely tell you
that the directive used in your .htaccess
file is not
- permitted. Alternately, it may tell you that you had a syntax error,
- which you will then need to fix.
This will indicate either that you've used a directive that is
+ never permitted in .htaccess
files, or that you simply
+ don't have
Alternately, it may tell you that you had a syntax error in your + usage of the directive itself.
+ +In this case, the error message should be specific to the + particular syntax error that you have committed.