Forum Moderators: DixonJones
The help in this forum is extremely valuable and greatly appreciated.
One thing I noticed that troubled me were the 404 and 301 errors.
I'm hoping that someone could explain why AWSTATS is showing stats for 404 and 301 error pages. The 404 error code could be explained by people searching for pages that don't exist, but it could also mean they are looking for a vulnerability in the site. Why the 301 error codes for 'Moved Permanently'? This has been happening from day one.
Specifically, I'd like to know if this is an indication of malicious activity afoot? Is there any reason for alarm and if so what can be done about it?
I'm thinking it is probably nothing to be concerned about, but I'd thought it best to check with you guys before putting it permanently out of mind.
Hope this helps a little.
If you have a directory /foo/, and I request www.example.com/foo, the server will redirect (with a 301) to www.example.com/foo/. This is important to maintain relative urls.
If www.example.com/foo contains a link to "bar", this is resolved to www.example.com/bar. But if the link is in the page www.example.com/foo/, it's resolved as www.example.com/foo/bar.
HTH
Jon.