Installing AWStats 6.4 on Prism 2 running on Apache 2.0.63

We have recently installed Prism 2 on our Staging Server with the intention of shutting down the Linux boxes in the near future.
I'm trying to install AWStats 6.4 following the instructions in the document available on this topic on TDN, but have hit a snag even before starting.
It says to cd /etc/httpd/conf and that if this directory does not exist, do not proceed.
It doesn't exist on our system, which has Apache 2.0.63. I found httpd.conf under /etc/apache2/httpd instead.
Will the installation work in our case or could you suggest a workaround?
Thanks
Jim

Installing AWStats 6.4 on Prism 2

I haven't installed later versions of Apache and AWStats so I don't know the install steps and if there are particular install issues although in theory it should be possible.

Has anyone else installed a later version of AWStats with a later versions Apache 2?

Thanks

Brian Crampton
Developer, Talis

Installing AWStats 6.4 on Apache 2

In the absence of any feedback I decided to try the installation, modifying the paths used to those actually used in the Apache 2 installation on our system. All went Ok and I was able to run the AWstats data update to harvest the access_log data.
However, when I try to log on the Awstats via the browser, I get this message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, sysman and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

In the error_log on the server this appears:
[Wed Nov 25 13:49:44 2009] [alert] [client 10.133.8.13] /usr/local/awstats/wwwroot/cgi-bin/.htaccess: Invalid command 'AuthUserFile', perhaps mis-spelled or defined by a module not included in the server configuration

Any thoughts what I have done wrong or not done?

Jim Ormerod

Installing AWStats 6.4 on Apache 2

In desperation I Googled the error-log message(Invalid command 'AuthUserFile') and got several hits indicating that an additional module needed to be loaded in Apache for this to work.

in The Apache httpd.conf file (under /etc/apache2 on our installation) I added the line:
LoadModule auth_module libexec/mod_auth.so

then restarted Apache and it worked, I was able to log on via the browser.

Odd that this wasn't already present. After all on our old Linux boxes under Apache 1.3 it must have been present for it to have worked there.

Jim Ormerod