Access logs

From XMission Wiki
Revision as of 16:17, 29 January 2014 by Jab (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.