[lug] AWStats and Permisions

Greg Horne jeerygh at hotmail.com
Tue Aug 14 14:04:07 MDT 2001

I'm using AWStats (awstats.sourceforge.net) to report access for my 
customers that my company hosts.  The program awstats.pl runs in the 
/cgi-bin directory which resides in the websites home directory.  When it 
processes the websites log files it stores the result in 

The directory /tmp/awstats/website has permissions 777 because when you go 
to http://website/cgi-bin/awstats.pl it will refresh (compile the logs into 
a file readable by AWStats) and save the statistics to /tmp/awstats/website.

Does anybody use this program?  Is there a way I can get it to run without 
the 777 permisions on the /tmp/awstats/website directory?  Would I use a 
<Directory> tag in the httpd.conf file to allow people to only write into 
/tmp/awstats/website with awstats log files?  How would I do this.

Any input would be greatly appreciated.

Greg Horne

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

More information about the LUG mailing list