Difference between revisions of "Status Reports"

From HE FAQ
Jump to: navigation, search
(Added questions from he.net/faq per mleber)
 
(6 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? ==
  
Line 10: Line 11:
 
== 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.
  
<tt><nowiki>http://www.example.com/directory_name</nowiki></tt>
+
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:
 
 
<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.
 
  
 
== Is it possible to enable hostname lookups in my status reports? ==
 
== Is it possible to enable hostname lookups in my status reports? ==
Line 45: 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:
  
== How long will my log files stick around? ==
+
/var/log/apache2-vhosts/USERNAME/access.log
  
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.
+
For easier access, you can symlink the log directory inside your home directory:
  
**********
+
ln -s /var/log/apache2-vhosts/USERNAME/ ~/log
  
Can I check the traffic for my account?
+
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.
  
You can go to:
 
  
http://yourdomain.com/webalizer
+
== How long will my log files stick around? ==
  
Replace where it says 'yourdomain.com' with your actual domain name.
+
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.
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?
+
 
+
To the best of our knowledge, webtrends will only generate real-time stats on a machine that it can run as a "background" task. NT is such a case. Web trends currently does not run under the UNIX environment.
+
 
+
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?
+
 
+
On Version 3 servers, this is not possible, though you can set up a Cron job to roll out the accumulated information from the log folder to your home directory so that you can use SFTP to download the file.
+
 
+
This data is stored in the /var/log/apache2-vhosts/accountname directory. Logs are accumulated for one month here and are numbered for convenience.
+
 
+
If your account is on a Version 2 server you can do the following:
+
 
+
n 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.
+
 
+
For both of the above, 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]]
 
[[Category:Webhosting]]

Latest revision as of 17: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.