Start with permissions to solve IIS + PHP environment faults (1 ). I. fault phenomenon I set up the environment using Windows XP, IIS is the built-in IIS5, and PHP version is 5.2. Install the PHP program and configure
I. fault symptom
The operating system used in the environment is windows XP, IIS is the built-in IIS 5, and PHP version is 5.2. According to the online steps, I installed the PHP program and configured the corresponding IIS ing parameters in IIS to establish the PHP environment, and generated a file named index. php for testing. In actual use, it is found that http: // 127.0.0.1/index is accessed on the server through a browser. php and http: // localhost/index. php prompts an error. The page shows "you do not have the permission to view the webpage. based on the provided creden, you do not have the permission to view this directory or webpage, HTTP error 401.3 -- access is denied by the resource ACL ". (1)
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'src = "/files/uploadimg/20070119/1649060 .jpg" border = 1> |
|
For further troubleshooting, I can click "browse" on the default website in IIS to view the results. The feedback received is the same as the previous one, it is also "HTTP error 401.3 -- access is rejected by the resource ACL ". (2)
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'src = "/files/uploadimg/20070119/1649061 .jpg" border = 1> |
|
However, other page files on the same site can be viewed and viewed normally as long as they are not created in the PHP language, including HTML static pages and ASP dynamic webpage files.
II. modify the verification method to solve the problem
Since the message returned by IIS is "HTTP error 401.3 -- access is rejected by the resource ACL", I also troubleshoot the access permission.
Step 1: Right-click the default website in IIS and select "properties" to view the attributes of the site. (3)
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'src = "/files/uploadimg/20070119/1649062 .jpg" border = 1> |
|
Step 2: Find the "directory security" tab in the default website attribute that is opened, and click "edit" next to "anonymous access and authentication control. (4)
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'src = "/files/uploadimg/20070119/1649063 .jpg" border = 1> |
|
1
The operating system used by the author to build the environment is windows XP, IIS is the built-in IIS 5, and PHP version is 5.2. Install the PHP program and configure...