Getting AWStats to work on /awstats/

3 posts / 0 new
Last post
#1 Wed, 01/27/2010 - 10:35

Getting AWStats to work on /awstats/

To get AWStats to work at rather than I replaced:

ScriptAlias /awstats /home/efy/cgi-bin


Alias /awstats /home/efy/cgi-bin
<Location /awstats>
Options +ExecCGI
AddHandler cgi-script .pl

I have also found it useful to add

DirectoryIndex index.html

to the .htaccess file in Webalizer stats folders. This is in case I am overriding DirectoryIndex in ~/public_html.

Can anyone point me to the right place to get changes applied to all new virtual servers?


Wed, 01/27/2010 - 13:19

They already do this using the <files> directive.

But the .htaccess is a nice idea.

Wed, 01/27/2010 - 14:01 (Reply to #2)

The files directive only applies auth to the file. What I want it to do is return as the directory index when addressing /awstats on my sever.

Topic locked