You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by timuel <ti...@voicenet.com> on 2002/11/27 15:15:33 UTC

[users@httpd] separate mod_userdir logfiles?

Does anyone know of a way to make the logs generated by mod_userdir.c type
browsing ('/~USERX') go into a different specified log for each user? I was just
gonna write a script to crunch`em, but I just wanted to make sure that this
wasn`t possible first.

Thanks.

--
timuel


---------------------------------------------------------------------
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 mod_userdir logfiles?

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 27 Nov 2002, timuel wrote:

> Does anyone know of a way to make the logs generated by mod_userdir.c type
> browsing ('/~USERX') go into a different specified log for each user? I was just
> gonna write a script to crunch`em, but I just wanted to make sure that this
> wasn`t possible first.

Yes, this can be done using the techniques discussed here:
http://httpd.apache.org/docs-2.0/logs.html#accesslog
under "Conditional Logging".  But it is much more efficient to just
post-process the logs.

And make sure you do NOT write logs to user-writable directories.  See:
http://httpd.apache.org/docs-2.0/logs.html#security

Joshua.

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