VPS is now a lot of webmaster accustomed to use one of the host, its function is basically similar to the server, but the price is much cheaper, and the virtual host compared to have more advantages. Website Log analysis is one of the necessary work every day, especially the analysis of the site is down right, which pages are included, and so on, the following author on the basis of the actual analysis of the VPS
Note:
Modify the absolute path of IIS logs in the IIS. php file
For example, $ folder = "C:/Windows/system32/logfiles/site log directory/"; // remember to include a slash (/).
(If you use a virtual space, do you not know how to view the absolute path of your site? Upload probes for viewing!
Direct query: http: // site
Note:Modify the absolute path of iis logs in the iis. php fileFor example, $ folder = "c:/windows/system32/logfiles/site log directory/"; // remember to include a slash (/).(If you use a virtual space, do you not know how to view the absolute path of your site? Upload probes for viewing!Direct query: http: // site domain name/
What the IIS logs meanIIS is an abbreviation for Internet Information Server, which means that the network Information service, the log is the running recordThe default directory for the IIS logs is%systemroot%\system32\logfiles\ (which can be customized as well)Log format: last two digits of the ex+ year + month + Dat
number] command in cmd. (For websites, FTP may not work, for example, 226,230)
The command is as follows: Net helpmsg 0; net helpmsg 100; net helpmsg 200;
IIS Log Path
Default location: % SystemRoot % \ system32 \ logfiles.
The IIS log time is 8 hours different from the local time:
The real reason is that
help you analyze these situations more easily.
Tool Name:CYQ. IISLogViewer
The tool introduction is as follows:
1: double-click the running tool and click ">" to locate the folder where IIS logs are located.
2: click "analyze" to analyze IIS logs and obtain the summary statistics of each file.
Note:
Because IIS
information, in the log records of the information should be more detailed. With this idea, I started the following attempts: sequentially execute the start → settings → control Panel → Administrative Tools →internet Information Services (IIS) Manager, open Internet Information Services (IIS) Manager, expand the Web site in my "AXZX" site and right-click it, Sel
site, how quickly the earliest understanding of the discovery problem. The same can be analyzed in the log search spider crawling situation, because the site space in addition to what the first response is the search engine spiders.
3: Through the log we can also analyze the spider for the page content crawling situation. Learn more about what the search engine likes about our site. We can according to th
, or even if you just want to check its security status, Web logs will become your first choice for information search. By default, you can find these log files in % SYSTEMROOT %/System32/logfiles.
However, this location is well known and has become a target. Therefore, you should move the log file to a non-system drive, which does not save or maintain your Web s
The IIS Server Error Log Timer_ConnectionIdle causes the server to be inaccessible,
Description: The Error means The connection with the server has been terminated.Problem description: this error is caused by server connection interruption.If you check out the C: "Windows" system32 "LogFiles" HTTPERR "httperr *. log files on the distribution server, you'll likel
programs to/home/apache/cgi-bin/awstats /.Mv awstats-version/wwwroot/cgi-bin/path/to/apache/cgi-bin/awstats# Copy the icons and other file directories to the HTML file publishing directory of the WEB:/home/apache/htdocs/More batch update scripts can be stored in the cgi-bin/awstats/directory under the tools directory,
Windows 2000: Run in Script Mode on the background. Unpack the package and move it to the
Basic knowledge of the format of IIS files
The IIS format is a fixed (not customizable) ASCII format, and the IIS format includes some basic items, such as the user's IP address, user name, request date and time, service status code, and number of bytes received. In addition, the IIS format includes detailed items suc
Anyone who has seen the IIS log time knows that the time that IIS records by default is GMT, which is 8 hours from the time we use Beijing, so it is inconvenient to look at the log.
We have a very small set of IIS log time to us
Anyone who has read the IIS log time knows that the default time recorded by IIS is Greenwich Mean Time, which is 8 hours different from the Beijing time we use. This makes it inconvenient to view logs.
We use a very small setting to make IIS log time use the time zone se
PHP iis log analysis program. ****************************************: Iis log analysis analyzes the total number of IP addresses for access requests and search engine captures. * Description: * stores log files in the root directory of the website, and change /************
Use Note:
To modify the absolute path of the IIS log in the iis.php file
For example: $folder = "c:/windows/system32/logfiles/site log directory/"; Be sure to bring a slash (/) in the back.
(with virtual space do not understand the absolute path of your site to see?) Upload a probe!
Direct Check view: http://site d
ASP reads the IIS log file code, which you can write to implement an IIS log browsing program, can read the IIS log access time, client IP, request target, protocol status, etc., if you
know the chain is like a spider crawling spider silk, if the chain construction of good words, spiders crawling naturally frequent, and we can record from which "entrance" into the spider's frequency is high.
2: The content of the site to update the spider crawling with a certain relationship, generally as long as we update the stability of frequent, spiders will crawl more frequently. We can use the log in the spider visit frequency of the site con
When troubleshooting, you will find that the IIS log time is different from the local time on the server.
The Time Zone of IIS log is GMT. Note that the China time zone is GMT + 8.
Therefore, to view IIS logs in China, you need to add + 8 to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.