httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Changing path of log files
Date Thu, 27 Jan 2005 14:31:14 GMT
On Thu, 27 Jan 2005 11:47:25 -0000, dzubac@vline.verat.net
<dzubac@vline.verat.net> wrote:
> I have a working apache2,and some users which are using 'Users' directive in
> config file.It's all working fine also with .htaccess option.The question is
> if it is possible to change path for logging files for each
> /home/*/public_html access ? For example,each user will have something like
> /home/*/public_html/logs/access_log
> /home/*/public_html/logs/error_log
> 
> and the web server will append all info to this files when someone request
> files under /home/*/public_html directory ?

No, you can't do this directly, and it would be a security risk
anyway.  Never write logs to non-root-writable paths.  You should
simply post-process your logs to split out the different users.

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


Mime
View raw message