httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonne Zutt <j.z...@ewi.tudelft.nl>
Subject [users@httpd] Separate ErrorLog CustomLog for <directory>
Date Wed, 03 Mar 2004 12:56:05 GMT
Dear apache users,

Part of my configuration looks like:

CustomLog logs/access_log combined
ErrorLog logs/error_log

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

<Directory /home/*/public_html>
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

I would like each user in /home/* to have its own
error- and customlog. That way users can check their
own error messages more easily.

But a CustomLog/ErrorLog is not allowed inside a <Directory>.

Do I have to set up some clever <VirtualHosts> to achieve
this behavior?
Or can it be done easier with something like

ErrorLog "$Directory/error_log"

Thanks in advance,
Jonne.


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message