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?)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{1 prefix}}
 
== How do I check traffic for my account? ==
 
== How do I check traffic for my account? ==
  
 
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.
  
  
 
== Can I password protect my webalizer reports? ==
 
== Can I password protect my webalizer reports? ==
  
Yes. You can use SSH to access your account and at the command prompt, type:
+
Yes, if you have a "Starter Virtual Host" or above.
  
htdigest -c /home/username/.web/auth-webalizer webalizer user
+
Please note that password protecting directories is not enabled for "Simple Virtual Host" accounts.
  
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.
+
A list of features for each account type is available here:
  
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.
+
http://he.net/web_hosting.html
  
 +
If you need this feature, please email support@he.net to request an upgrade of account type.
  
== 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.
+
== How do I password protect my webalizer reports? ==
  
 +
You can use SSH to access your account and at the command prompt, type:
  
== What does code 302 mean? ==
+
htdigest -c /home/username/.web/auth-webalizer webalizer user
  
Code 302 Redirected requests result when ever you specify a directory for a URL. For example, if you specify:
+
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.
  
<nowiki>http://www.he.net/~yourname</nowiki>
+
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.
 
+
the server redirects the browser to request:
+
 
+
<nowiki>http://www.he.net/~yourname/index.html</nowiki>
+
 
+
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.).
+
  
  
Line 56: Line 42:
 
== 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? ==
 
== 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 <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.
+
Your raw access logs are located in:
  
== Is there a way I can accumulate my access logs rather than having them turned over every day? ==
+
/var/log/apache2-vhosts/USERNAME/access.log
  
Yes. In your home directory create an empty file called:
+
For easier access, you can symlink the log directory inside your home directory:
  
<tt>access_log</tt>
+
ln -s /var/log/apache2-vhosts/USERNAME/ ~/log
  
Your logfile will be rolled into this every night when the logs are processed.
+
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.
  
To create the file, ssh to the server and issue the command:
 
  
<tt>touch access_log</tt>
+
== How long will my log files stick around? ==
  
This will create an empty file.
+
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.
  
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.
+
[[Category:Webhosting]]

Latest revision as of 18:06, 6 January 2012

This information only pertains to Hurricane Electric's Shared Web Hosting package. There may be different information in our other categories.

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, if you have a "Starter Virtual Host" or above.

Please note that password protecting directories is not enabled for "Simple Virtual Host" accounts.

A list of features for each account type is available here:

http://he.net/web_hosting.html

If you need this feature, please email support@he.net to request an upgrade of account type.


How do I password protect my webalizer reports?

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.


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?

Your raw access logs are located in:

/var/log/apache2-vhosts/USERNAME/access.log

For easier access, you can symlink the log directory inside your home directory:

ln -s /var/log/apache2-vhosts/USERNAME/ ~/log

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.