Re: giving users their own http logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 09, 2004 at 11:16:17AM -0800, Chris W. Parker wrote:
> I want to give users on my server their own log directory so that they
> can debug their websites and build analytics reports. I tried adding a
> CustomLog and ErrorLog entry to the UserDir section in httpd.conf but
> that didn't work.

I've got this included in my VirtualHost directive and it's working fine
(other non-relevant parts were snipped):

<VirtualHost 192.168.0.6:*>
    ServerName www.ewilts.org
    DocumentRoot /var/www/html
    ErrorLog logs/www.ewilts.org-error_log
    CustomLog logs/www.ewilts.org-access_log common
</VirtualHost>

I then have a webalizer directive that processes these logs and throws
the output back into a subdirectory of the DocumentRoot.  This approach
seems to work fine for me.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux