Difference between revisions of "Access logs"

From XMission Wiki
Jump to: navigation, search
(new page)
 
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
While Web Hosting customers are already provided with [http://stats.xmission.com/vhost2/ Webalizer web statistics], all  customers with web space can choose to generate web statistics themselves to track their web site traffic however they see fit. At XMission, logs for your web site can be copied nightly to an "access_log" file, which uses standard web log formatting.
+
{{archived}}
 +
 
 +
While Web Hosting customers are already provided with [http://stats.xmission.com/vhost2/ web statistics], all  customers with web space can choose to generate web statistics themselves to track their web site traffic however they see fit. At XMission, logs for your web site can be copied nightly to an "access_log" file, which uses standard web log formatting.
  
 
==Usage==  
 
==Usage==  
 
<div class="messagebox metadata">'''Note''': The following instructions are for Apache; users who wish to remain on the old Roxen server will need to use ''access_roxen'' in place of ''access_log'' in all instances. Keep in mind that if both  ''access_log'' and  ''access_roxen'' files are present in the directory, the ''access_log'' file will take precedence.</div>
 
  
 
To create an access_log  for your account, make the file, <tt>access_log</tt> in your <tt>public_html</tt>  directory. Be sure that it is group writable (<tt>chmod g+w access_log</tt>).
 
To create an access_log  for your account, make the file, <tt>access_log</tt> in your <tt>public_html</tt>  directory. Be sure that it is group writable (<tt>chmod g+w access_log</tt>).
Line 16: Line 16:
  
 
Because the file  will continue to grow, keep an eye on the size. This does count against  your disk quota.
 
Because the file  will continue to grow, keep an eye on the size. This does count against  your disk quota.
 +
 +
 +
[[Category:Hosting Archives|Access Logs]]

Latest revision as of 16:17, 29 January 2014

Archives.png


While Web Hosting customers are already provided with web statistics, all customers with web space can choose to generate web statistics themselves to track their web site traffic however they see fit. At XMission, logs for your web site can be copied nightly to an "access_log" file, which uses standard web log formatting.

Usage

To create an access_log for your account, make the file, access_log in your public_html directory. Be sure that it is group writable (chmod g+w access_log).

If you'd like your statistics to be viewable from the web (e.g., With Netscape or Internet Explorer), you need to make the access_log group readable as well (chmod g+r access_log). Once proper permissions are set, point your browser to the following URL, replacing acctname with your XMission username.

http://www.xmission.com/~acctname/access_log

If you don't want it publicly viewable, make sure the group readable access is off (chmod g-r access_log).

Because the file will continue to grow, keep an eye on the size. This does count against your disk quota.