[05] WHAT ABOUT THE ACCESS LOGS, STATISTICS AND QUOTAS?
If you just want to check your web quota stats, you can type
'webquota' at the shell, or see
http://sdf.org/over
Daily stats are posted at
http://sdf.org/webstats
VHOST member web stats at
http://sdf.org/vhosts
VHOST members receive webstats in email once a month on the first
day of the month.
If you want *more* information, then:
Logfiles are saved on the machine that eventually fulfills the HTTP request.
How to determine which machine that is? In most cases the host is
a function of your membership level (third column of the table below). But if
you've transferred your own domain for SDF hosting (VHOST subscription), or
toggled hosting to the MetaArray using `mkhomepg -t` (MetaARPA only), then
your host can be found in one of the last two rows of the table below.
host location members rollover archived
------------------------------------------------------------------
sdf /var/log/httpd users daily @ 00:00 1 day
faeroes /var/log/httpd ARPA daily @ 00:00 1 day
iceland /var/log/httpd MetaARPA daily @ 00:00 1 day
norge /var/log/nginx/{vhost} vhost monthly 30 days
mab /meta/log MetaARPA daily @ 00:00 1 day
The log file includes the following information. Depending on the server
setup, you may see the fields presented in a different order, delimited by
| or just by spaces. (The nginx log format for vhost members is documented in
FAQ VHOST[07].)
1. timestamp (UTC)
2. your domain name
3. path and file
4. remote IP
5. bytes xfered
6. number of seconds spent serving the request
7. HTTPD return code
8. Refering URL (MetaARPA, VHOST and MOTD only)
9. User Agent (Browser) (MetaARPA, VHOST and MOTD only)
All CGIs (including PHP scripts) are run under the user's ID.
Each server has two logfiles in /var/log/httpd which show
suexec and suphp attempts.
If you're still confused, a good rule of thumb is to ssh to
LOGNAME@your-url and poke around in /var/log/httpd or /var/log/nginx (for vhost)