L
L
lsa4132015-11-16 13:32:36
Apache HTTP Server
lsa413, 2015-11-16 13:32:36

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

1 answer(s)
L
lsa413, 2015-11-18
@lsa413

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 question

Ask a Question

731 491 924 answers to any question