Awstats bug with 0.37.0

Quonos

Verified User
Joined
Jul 30, 2009
Messages
21
Steps to reproduce:
# Create a domain (http://domain/)
# Create a domain pointer (http://domain2/)
# Create an accessible URL for awstats (for example, http://domain/awstats)
# Try reaching this URL from the pointer
# Awstats will not load.

All my customers have been informed about this bug. However, I would like to see this issue resolved :)

Thanks!

Tom van der Woerdt
Quonos
 
How is it a bug? Awstats needs to run on a cronjob to do the tally. It is NOT live.
 
How is it a bug? Awstats needs to run on a cronjob to do the tally. It is NOT live.

Actually, yes, it is live since 0.37 (at least on my server).

Quoting the error :

Error: Couldn't open config file "awstats.domain2.conf" nor "awstats.conf" after searching in path ".,/home/admin/domains/domain/awstats/.data,/usr/local/etc/awstats,/etc,/etc/opt/awstats": No such file or directory

- Did you use the correct URL ?
Example: http://localhost/awstats/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
- Did you create your config file 'awstats.domain2.conf' ?
If not, you can run "awstats_configure.pl" from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).

Of course, using ?config=domain works, but that's not really a preferred solution.
 
Back
Top