Answer the question
In order to leave comments, you need to log in
How to setup RewriteLog in apache2.4 for OpenServer?
I tried to write in the Apache configuration (I found this instruction somewhere on the Internet):
RewriteLog "%sprogdir%/domains/localhost/testmodrewrite/logs/rewrite.log"
RewriteLogLevel 1
But in this situation, the server simply does not want to start.
Answer the question
In order to leave comments, you need to log in
In short, for Apache 2.4 and above, you need to write in the config (section: Error message configuration ): LogLevel alert rewrite:trace3
(the default is:) LogLevel warn
.
After that, in the View logs in the Apache debugging tab , you can see the work of mod_rewrite .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question