Difference between revisions of "Status Reports"

From HE FAQ
Jump to: navigation, search
(Is there a way I can accumulate my access logs rather than having them turned over every day?)
Line 3: Line 3:
 
You can go to:
 
You can go to:
  
http://yourdomain.com/webalizer
+
<tt><nowiki>http://www.example.com/webalizer</nowiki></tt>
  
Replace where it says 'yourdomain.com' with your actual domain name.
+
Replace <tt>example.com</tt> with your actual domain name.
  
  
Line 28: Line 28:
 
Code 302 Redirected requests result when ever you specify a directory for a URL. For example, if you specify:
 
Code 302 Redirected requests result when ever you specify a directory for a URL. For example, if you specify:
  
<nowiki>http://www.he.net/~yourname</nowiki>
+
<tt><nowiki>http://www.example.com/directory_name</nowiki></tt>
  
 
the server redirects the browser to request:
 
the server redirects the browser to request:
  
<nowiki>http://www.he.net/~yourname/index.html</nowiki>
+
<tt><nowiki>http://www.example.com/directory_name/index.html</nowiki></tt>
  
 
The server handles the redirection in this manner in conformance with HTTP standards. It is quite normal.
 
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? ==
 
== Is it possible to enable hostname lookups in my status reports? ==
Line 58: Line 47:
 
The <tt>access_log</tt> 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.
 
The <tt>access_log</tt> 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? ==
+
== How long will my log files stick around? ==
 
+
Yes. In your home directory create an empty file called:
+
 
+
<tt>access_log</tt>
+
 
+
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:
+
 
+
<tt>touch access_log</tt>
+
 
+
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.
+
We close your daily log file and start a new one every 24 hours. We save those older logs for a period of 30 days per file in your <tt>logs</tt> directory. If you want to keep these files for archival purposes, you'll need to download them or copy them outside the logs directory.

Revision as of 14:32, 21 September 2009

How do I check traffic for my account?

You can go to:

http://www.example.com/webalizer

Replace example.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.example.com/directory_name

the server redirects the browser to request:

http://www.example.com/directory_name/index.html

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

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 webalizer?

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.

How long will my log files stick around?

We close your daily log file and start a new one every 24 hours. We save those older logs for a period of 30 days per file in your logs directory. If you want to keep these files for archival purposes, you'll need to download them or copy them outside the logs directory.