Re: separate log for directories

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

 



On 05/12/2007, fmorales@xxxxxxx <fmorales@xxxxxxx> wrote:
> Hello, how can I write separate log files for :
>
> mydomain.com/directory1
>
> and
>
> mydomain.com/directory2 ?
>
> 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:

http://httpd.apache.org/docs/2.2/logs.html#accesslog

-- 
noodl

---------------------------------------------------------------------
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