httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurtis Rader <>
Subject Re: [users@httpd] ReDirect question
Date Sat, 27 Jun 2015 19:00:02 GMT
On Sat, Jun 27, 2015 at 11:42 AM, James Moe <> wrote:

> - I added "LogLevel info rewrite:trace6" to the VirtualHost section
> - The rewrite rule in <.htaccess>
> - An excerpt from the error log:
> [...] referer:
>   There is nothing in the error log that contains the string "rewrite".
>   If I read the docs correctly about LogLevel, the above rewrite is
> being totally ignored since nothing the error log contains the string
> "rewrite".
>   Any suggestions?

In my previous reply I said your error log would include the entire URI of
the request. I forgot to mention that will only be true if you've enabled
dumping of the entire incoming request via something like this:

<IfModule dumpio_module>
DumpIOInput On
DumpIOOutput Off
LogLevel dumpio:trace7

That's what I use to debug situations like this. Which is fine for short
durations. But for longer term tracking of requests to your server it's
better, and less resource intensive, if you simply define a CustomLog that
includes the "%r" format string so that the entire URI ends up in the
access log.

Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

View raw message