You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonne Zutt <j....@ewi.tudelft.nl> on 2004/03/03 13:56:05 UTC

[users@httpd] Separate ErrorLog CustomLog for

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


Re: [users@httpd] Separate ErrorLog CustomLog for

Posted by Nick Kew <ni...@webthing.com>.
On Wed, 3 Mar 2004, Jonne Zutt wrote:

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

Bad idea to try that in Apache itself: it implies lots of open file
descriptors.

Other options include:
  - Log to a database and let your users reconstruct their logs by query
  - Log to a single file and post-process
  - Pipe your logs through a custom prog

-- 
Nick Kew

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


[users@httpd] [users@httpd]: Unsubscribe

Posted by Al Okyne <ar...@mac.com>.
Sorry to bother you guys with this but how can I unsubscribe from this list?

I sent emails to:

<us...@httpd.apache.org>

And never received a reply...am I doing something wrong?

Thank you,
Al


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