Difference between revisions of "Status Reports"

From HE FAQ
Jump to: navigation, search
(New page: == How do I check traffic for my account? == You can go to: http://yourdomain.com/webalizer Replace where it says 'yourdomain.com' with your actual domain name. == Can I password prot...)
 
m
Line 63: Line 63:
 
Yes. In your home directory create an empty file called:
 
Yes. In your home directory create an empty file called:
  
''access_log'''
+
''access_log''
  
 
Your logfile will be rolled into this every night when the logs are processed.
 
Your logfile will be rolled into this every night when the logs are processed.

Revision as of 11:53, 8 September 2009

How do I check traffic for my account?

You can go to:

http://yourdomain.com/webalizer

Replace where it says 'yourdomain.com' with your actual domain name.


Can I password protect my webalizer reports?

Yes. You can use SSH to access your account and at the command prompt, type:

htdigest -c /home/username/.web/auth-webalizer webalizer user

Replace 'username' with your account name and replace 'user' with the name you want to use for accessing the protected directories. You should then be prompted to give a password to use for access.

Note: This password protection will not take effect immediately. It may take as long as 24 hours for our Apache configuration to pick up this change.


What does Code 404 Not found Request mean?

It means that you had a request for a document in your site that did not exist. Typically this is the result of a bad URL in one of your documents which links to a non existent document, either a mistake, or one that you were planning on writing but haven't yet.


What does code 302 mean?

Code 302 Redirected requests result when ever you specify a directory for a URL. For example, if you specify:

http://www.he.net/~yourname

the server redirects the browser to request:

http://www.he.net/~yourname/index.html

The server handles the redirection in this manner in conformance with HTTP standards. It is quite normal.


Can I set up my account so a daily log is emailed to me?

Yes with the proper script and using crontab.


Can I change the output of the access_log file type to .gz, .log, .txt?

You can change the name of the log to have any extension that you would like. This does require knowledge of script writing (shell, C, perl, etc.).


Is it possible to enable hostname lookups in my status reports?

Yes. Log into the billing database at https://admin.he.net and click on Edit Virtual Host Otions. Then select HostnameLookups.

Please note that this can cause your web site to be up to 10% slower.


Could you tell me what the access_log is and let me know if we have access to it? Is this the same as the .status?

The access_log files contain all of the information from which the activity reports are generated. In general, only programmers need to know where they are because the information is in a raw format.


Is there a way I can accumulate my access logs rather than having them turned over every day?

Yes. In your home directory create an empty file called:

access_log

Your logfile will be rolled into this every night when the logs are processed.

To create the file, ssh to the server and issue the command:

touch access_log

This will create an empty file.

Because the access_log file is included in your disk space allocation, you should check its size from time to time. You will be responsible for keeping your access_log file at a manageable size.