awstats setup
Posted: Mon Aug 18, 2008 7:15 am
Hello all. I am trying to get awstats setup on our companies live server but am having difficulties. I set it up on our development server painlessly, no problems at all. Now I try to keep the 2 servers as simmilar as possible but the live server is kinda screwy as the host, even though its a dedicated server, forces some httpd configuration files on us. Basically if the server restarts ever then it will overwrite changes I have made to a few sections of the httpd.conf file. Strange, I know but there is nothing I can do about it.
So that is the only place I can think of having this problem. I have done everything exactally the same on the live server as I did on the testing server for the awstats install. On the testing server it runs just fine. On the live server I get sent to my sites 404 page which makes me think that the lines in the httpd.conf file are being disregarded for whatever reason. The lines that the setup added were these:
So that is the only place I can think of having this problem. I have done everything exactally the same on the live server as I did on the testing server for the awstats install. On the testing server it runs just fine. On the live server I get sent to my sites 404 page which makes me think that the lines in the httpd.conf file are being disregarded for whatever reason. The lines that the setup added were these:
it doesn't seam like the ScriptAlias is working, just no go at all. I don't really know much about the httpd.conf file so I don't know what I should be looking for to make this work just peachy so if someone could give me some sugesstions as to why maybe the ScriptAlias is not taking, I would be very appreciative.#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"
#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/local/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>