Difference between revisions of "Status Reports"
(Added questions from he.net/faq per mleber) |
|||
Line 50: | Line 50: | ||
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. | 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 check the 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? | ||
+ | |||
+ | 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]] |
Revision as of 22:50, 17 May 2010
Contents
- 1 How do I check traffic for my account?
- 2 Can I password protect my webalizer reports?
- 3 What does Code 404 Not found Request mean?
- 4 What does code 302 mean?
- 5 Is it possible to enable hostname lookups in my status reports?
- 6 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?
- 7 How long will my log files stick around?
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.
Can I check the 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:
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:
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.