Sign in to follow this  
Followers 0
7rrivera7

TEST.PHP Fails

2 posts in this topic

New installation and right now I'm at the point where IIS and the PHP installation is tested. The tutorial states to run TEST.PHP but I'm getting this error:

HTTP Error 401.3 - Unauthorized

You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

Most likely causes:

  • The user authenticated by the Web server does not have permission to open the file on the file system.
  • If the resource is located on a Universal Naming Convention (UNC) share, the authenticated user may not have sufficient share and NTFS permissions, or the permissions on the share may not match the permissions on the physical path.
  • The file is encrypted.

Things you can try:

  • Open File Explorer and check the ACLs for the file that is being requested. Make sure that the user accessing the Web site is not being explicitly denied access, and that they do have permission to open the file.
  • Open File Explorer and check the ACLs for the share and the physical path. Ensure that both ACLs allow the user to access the resource.
  • Open File Explorer and check the encryption properties for the file that is being requested. (This setting is located in the Advanced attribute properties dialog.)
  • Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Detailed Error Information:

Module    CgiModule
Notification    ExecuteRequestHandler
Handler    PHP
Error Code    0x80070005
Requested URL    http://winids:80/test.php
Physical Path    d:\winids\inetpub\wwwroot\base\test.php
Logon Method    Anonymous
Logon User    Anonymous
 

More Information:

The user trying to access the page was successfully logged on, but the user does not have permission to access the resource. This means the access control list (ACL) for the resource either does not include the user or explicitly denies the user. Check the ACL for the resource and add the user to the ACL. If the content is located on a share, ensure both NTFS and share permissions allow the user access. It is also possible that the user is part of a group that is denied access.

View more information »

Microsoft Knowledge Base Articles:

  • 907273
  • 332142

Share this post


Link to post
Share on other sites

Go back to the section below and do over.

Configuring IIS for PHP, and the Windows Intrusion Detection Systems security console

If that fails then zip up all the files in the Windows\System32\inetsrv\config folder and attach. Also attach the php.ini file

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0