These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Getting AWStats to work on /awstats/ on the new forum.
To get AWStats to work at example.com/awstats/ rather than example.com/awstats/awstats.pl I replaced:
ScriptAlias /awstats /home/efy/cgi-bin
with:
Alias /awstats /home/efy/cgi-bin <Location /awstats> Options +ExecCGI AddHandler cgi-script .pl DirectoryIndex awstats.pl </Location>
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?
Thanks.
They already do this using the
<files>
directive.But the .htaccess is a nice idea.
The files directive only applies auth to the file. What I want it to do is return awstats.pl as the directory index when addressing /awstats on my sever.