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