IIS log file

Source: Internet
Author: User

From: http://blog.csdn.net/cryeyes/archive/2007/09/24/1798899.aspx

IIS Log
Date (date) 2007-05-27
Time (time) 18:00:51
Cs-method (method) GET
Cs-uri-stem (URI Resource)/test. aspx
Cs-uri-query (URI query) sid = b0a17a6f8ee31e2fbbfb02de3a6ca730
S-port (server port) 80
C-ip (Client IP) 59.94.164.212
Cs (User-Agent) Nokia5300/2.0 + (04.71) + Profile/MIDP-2.0 + Configuration/CLDC-1.1
Cs (Referer) (reference site)
SC-status 200
SC-substatus (Protocol substatus) 0
Sc-win32-status (Win32 status) 0
SC-bytes (number of sent bytes) 1329
Time-taken (time used) 234

Http errors

Yesterday I did a test site account on the server, which contains the ASPX file, so I wanted to test it locally. after the website is ready, you are prompted to enter the account and password when accessing the local machine. I can see it is a permission issue. then, the following message is displayed:
 
I have also met before, but the last time I met was 403.1, 403.3, or 401.3, and so on, so I can easily find out why. for example, 403.1 means access is denied. 403.3 indicates a write rejection. 401.3 is not authorized. as long as there is information, it is easy to know how to handle it. but these are all about server administrators. however, in this case, you don't have to worry about it.
Then I tried it one by one, first the password of the user name, then the anonymous access, and the password again. anonymous access is set in the main directory of the site attribute in IIS. then I tried again, or 403 forbidden access. ah, so I chose to edit it in the main directory of IIS, and added the name of your site in the following WINDOWS User Account anonymously. right-click the site, select the permission, and add the site user name. then try again, or only 403 forbidden access is displayed. depressed, what should I do? Later I thought of selecting a website in the IIS properties, which contains an enable log record. Select W3C format and click OK. in this way, enter the URL on the browser to access the website. Although the error 403 still appears, but now you can go to system32 on the server to find logfiles (it is very important to learn to view logs), which records roughly as follows:
# Date: 08:23:11
# Fields: date time s-ip cs-method s-port c-ip SC-status SC-substatus SC-bytes cs-bytes
08:23:10 63.223.91.210 GET 80 222.210.198.249 200 0 4819 369
08:23:11 63.223.91.210 GET 80 222.210.198.249 200 0 2321 369
08:23:25 63.223.91.210 GET 80 222.210.198.249 200 0 39827 277
08:27:13 63.223.91.210 GET 80 222.210.198.249 403 14 377 266
08:27:19 63.223.91.210 GET 80 222.210.198.249 403 14 377 266
In this example, SC-status is the protocol type, and SC-substatus is the sub-Protocol. Therefore, the last two lines are error 403.14, then, check the custom errors in the IIS properties to see what 403.14 is. Check that the directory list is denied and I will immediately know that it is.. net. aspx creates a virtual directory. finally, create a virtual directory to solve the problem.

 

This article from the CSDN blog, reproduced please indicate the source: http://blog.csdn.net/cryeyes/archive/2007/09/24/1798899.aspx

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.