Bug #37

Call domain.tld/stats

Added by Christophe Beaujean over 2 years ago. Updated about 1 year ago.

Status:Closed Start date:09/24/2009
Priority:Normal Due date:
Assignee:Martin Sefcik % Done:

100%

Category:- Spent time: 1.00 hour
Target version:6.1.5
Affected version: Operating System:
Resolution:Resolved Architecture:
Reproduceable:

Description

If you call this URL domain.tld/stats you will see an error page from awstats with many informations.

Error: Couldn't open config file "awstats.www.xxxxxxx.com.conf" nor "awstats.conf" after searching in path "/home/kloxo/httpd/awstats/wwwroot/cgi-bin,/etc/awstats,/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.www.lubrix.com.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).

Associated revisions

Revision 651d36fd
Added by Martin Sefcik about 1 year ago

Fixed stats page opening if "Force Redirect domain.com To www.domain.com" option is enabled (#37).

History

Updated by Phil M about 1 year ago

This is an old bug that is still present.

Steps to recreate

Set a domain to "Force Redirect Domain.com To Www.domain.com"

Going to:
http://www.example.com/stats or
http://example.com/stats
Will redirect to:
http://www.example.com/awstats/awstats.pl
Which will give the error stated above.

Manually changing the URL to:
http://www.example.com/awstats/awstats.pl?config=example.com
Will take you to the correct, working, awstats page.

Updated by Martin Sefcik about 1 year ago

  • Assignee set to Martin Sefcik
  • Target version set to 6.1.5

Updated by Martin Sefcik about 1 year ago

  • Status changed from New to In Progress

Updated by Martin Sefcik about 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Fixed in r421.

Updated by Martin Sefcik about 1 year ago

  • Status changed from Resolved to Closed
  • Resolution set to Resolved

Also available in: Atom PDF