[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NUONCE AWSTATS error Re: (WAS) SOLVEDRe: [cobalt-users] .htaccess not working on a raq550 ?



> What you need to do is to watch your error log file
>
> tail -f /var/log/httpd/error
>
> Refresh your screen, and then look at what just was written to your
> telnet/ssh window.  That will assist you in determining what is actually
> wrong.  The awstats program has a .htaccess file in it.  Which tells
apache
> to use "cgi-script" instead of "cgi-wrapper".  The "cgi-wrapper", which is
> the "Enable CGI" in the gui, NEEDS to have the script being ran by the
site
> admin.  The "cgi-script" does NOT care who runs it.
>
> Make sure that the .htaccess file is there.  It should have been created
the
> very first time you installed/ran the package file.
>
> [root web]# cd /home/awstats/
> [root awstats]# ls -la
> total 6
> drwxr-xr-x    5 root     root         1024 Jun  6 08:38 .
> drwxr-xr-x   18 root     root         1024 Jun 10 08:41 ..
> drwxr-xr-x    5 root     root         1024 Jun  6 08:38 cgi
> drwxr-xr-x    4 root     root         1024 Jun  6 08:38 data
> -rw-r--r--    1 root     root           26 Jun  6 08:38 .htaccess
> drwxr-xr-x    2 root     root         1024 Jun  6 08:38 templates
> [root awstats]# cat .htaccess
> AddHandler cgi-script .pl
> [root awstats]#
>
> If it is not there, create it.
>
> If you can post your error log detail (just what is printed when you do a
> refresh), it will assist in figuring out what has caused your error.
>
[Tue Jun 24 17:45:58 2003] [error] Cannot remove module
mod_auth_pam_external.c: not found in module list
[Tue Jun 24 17:46:02 2003] [error] Cannot remove module
mod_auth_pam_external.c: not found in module list
[Tue Jun 24 17:46:04 2003] [notice] Apache configured -- resuming normal
operations
[Tue Jun 24 17:46:16 2003] [crit] [client MY IP}Configuration error:
couldn't check user.  No user file?: /awstats
[Tue Jun 24 18:11:38 2003] [error] [client MY IP} File does not exist:
/home/.sites/143/site2/web/favicon.ico
[Tue Jun 24 18:45:09 2003] [crit] [client MY IP}configuration error:
couldn't check user.  No user file?: /awstats


the rest you mentioned is there and exactly the same.

I dont understand the error message. Where do i look for the module which
obviously isnt there ??

.htaccess is working when testing with a manual test in a other dir (not
awstats related)

Thanks

Robbert