httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <>
Subject Re: [users@httpd] separate log for directories
Date Wed, 05 Dec 2007 16:07:20 GMT
On 05/12/2007, <> wrote:
> Hello, how can I write separate log files for :
> and
> ?
> Iam trying ErrorLog and CustomLog inside <Directoty></Dictory> but is
> not possible to do it.

The logging directives are specific to server entries (main server or
vhosts) not directories, so placing these directives in <Directory
blocks won't have an effect.

It is possible to have per-directory logging, but only by using
environment variables and conditional logging. See the 'conditional
logs' section, here:


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