Adding validHTTPcodes to AWStats for a domain
Hello,
I have a redirection domain go.domain.com who redirect a lot of stuff like go.domain.com/google would redirect to google.com with HTTP code 302.
I want to log those in AWStats, but they appear as "HTTP Code" in the bottom.
I've searched around and enabled the "awstats.conf.include", placed the file under /home//tmp/awstats/awstats.conf.include
then added "ValidHTTPCodes="200 302"" in the file. But that dosent work. Got an idea why ?
Thanks
-
Can you please detail how you enabled the include? Something similar to what's noted here would be accurate: Allowing Users to Customize AwStats - The cPanel Admin 0 -
I used the checkbox in " WHM > Statistics Software Configuration" 0 -
Hello, This just allows the use of include files, If it's not functioning as intended then we'd need to know more about what specifically was added from start to finish. Please provide the exact details of what was added. 0 -
Hum... not sure exactly what you want. As said above, I added the file /home//tmp/awstats/awstats.conf.include and in the file, I have this : ValidHTTPCodes="200 302"
Maybe this : 1. Checked the box "Allow Awstats configuration Include file" in "WHM > Statistics Software Configuration" 2. Created a file "/home//tmp/awstats/awstats.conf.include" using "vi" 3. Added "ValidHTTPCodes="200 302"" in the file. 4. Visited one of the 302 redirection. 5. run "/scripts/runweblogs " 6. Refreshed AWStat and saw +1 for the 302 code under "Codes Status HTTP", but no details of the actual URL.0
Please sign in to leave a comment.
Comments
4 comments