All pastes #767268 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-09 16:53 UTC
rendered paste body
my awstats conf file is in
/etc/awstats/awstats.mydomain.com.conf
#################################################

I added this to the bottom after Include ""

<directory /home/myusername/domains/mycomain.com/public_html/awstats>
Options +ExecCGI
AddHandler cgi-script pl
DirectoryIndex awstats.pl

AuthUserFile
/home/myusername/domains/mydomain.com/public_html/awstats/.htpasswd
AuthType Basic
AuthName "AwStats Protection"

<LIMIT GET POST>
require valid-user
</LIMIT>
</directory>

Also, in /home/myusername/domains/mycomain.com/public_html/awstats i renamed .htaccess to .htaccess2