httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] virtualhost "CustomLog not allowed here", RewriteEngine
Date Sat, 12 Nov 2005 23:19:07 GMT
On 11/12/05, n mike <> wrote:
>  Unable to figure out how to use .htaccess to write a custom log file.
>  [Sat Nov 12 12:18:48 2005] [alert] [client]
> /home/virtual/site84/fst/var/www/html/.htaccess: CustomLog
> not allowed here

Can't be done.  Check the "context" of the CustomLog directive in the
docs and you'll see it isn't allowed in .htaccess.  This is because
all logs must be opened at startup.

You should simply get a decent log processor to extract what you want
from the main access log.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message