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, Joshua Slive <jslive@xxxxxxxxx> wrote:
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.

Thanks Josuha.  Still learning how to read the docs!

I heard back from the hosting service that my site is running under apache 2.0.  Is there way that admin (me) can query apache to find out configuration information?  I'm talking about above-board queries, nothing sneaky.  Often, I ssh in to the linux account to manage my web pages, but I do not have root access.

tia,
Mike





[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