Re: [users@httpd] virtualhost "CustomLog not allowed here", RewriteEngine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/12/05, n mike <mike.ddn@xxxxxxxxx> wrote:
> PROBLEM:
>  Unable to figure out how to use .htaccess to write a custom log file.
>
>  EXAMPLE ERROR:
>  [Sat Nov 12 12:18:48 2005] [alert] [client 72.14.207.99]
> /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.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux