On 11/12/05, Joshua Slive <[EMAIL PROTECTED]> wrote:
On 11/12/05, n mike <[EMAIL PROTECTED]> 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




Reply via email to