0

I'd like to use awstats to track usage of a URL shortener I'm using.

Unfortunately, awstats treats log records with a non 200 status as an error, and excludes them from statistics.

Is there a way to get awstats to treat 301s as 200s for stats tracking?

ceejayoz
  • 32,469
  • 7
  • 81
  • 105

1 Answers1

3

Figured it out. In the configuration file:

ValidHTTPCodes="200 304 301"

ceejayoz
  • 32,469
  • 7
  • 81
  • 105