Your Webpage Stats: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Fixed servername, paths and serveral script typos.)
No edit summary
 
Line 1: Line 1:
So you want to see the statistics for your webpage?
So you want to see the statistics for your webpage?


To see the logs for all the webpages on redbrick, 'ssh murphy' and then look in '/var/log/apache2'. The logs are split up by year, date and type. So the access logs for the 8th of March 2008 would be found at '/var/log/apache2/2008/03/08-combined_log'. You can pipe any of the logs to 'grep /~username' to pick out information on your own page.
 
'''This no longer works because of permissions'''
<pre>To see the logs for all the webpages on redbrick, 'ssh <strike>murphy</strike> pyg' and then look in '/var/log/apache2'. The logs are split up by year, date and type. So the access logs for the 8th of March 2008 would be found at '/var/log/apache2/2008/03/08-combined_log'. You can pipe any of the logs to 'grep /~username' to pick out information on your own page.</pre>


If your using a vhost (i.e. your own web domain) on redbrick you won't be able to pick out hits to your domain using the grep method above. You should ask the admins to generate logs for your domain. Sometime in the future, the combined logs may be configured to handle these web domains.
If your using a vhost (i.e. your own web domain) on redbrick you won't be able to pick out hits to your domain using the grep method above. You should ask the admins to generate logs for your domain. Sometime in the future, the combined logs may be configured to handle these web domains.

Navigation menu