Reputation: 2301
I want to see how my .htaccess file works. I put a LogLevel directive in it,
<IfModule mod_rewrite.c>
LogLevel alert rewrite:trace3
...
But then in my httpd log file, I see:
.htaccess: LogLevel not allowed here
How do I debug my .htaccess file?
Thanks.
Upvotes: 13
Views: 9973
Reputation: 1633
Log level will not work in .htacesss file put this config in apache config file.
The syntax you are trying, i assume is for apache 2.4 put it as
LogLevel warn mod_rewrite.c:trace4
Upvotes: 12