Sign in to follow this  
Followers 0
7rrivera7

TEST.PHP Fails

8 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

Go back in and verify the PHP setting in IIS. For some reason the setting sometime does not save and the settings need to be re-applied. No need to reinstall because the same problem could come back.

I checked your setting and the php.ini file is good but the IIS files are for version 10 and I don't have that set of configs to match yours with. I would need to install IIS 10 to get it. What OS version are you running?

Share this post


Link to post
Share on other sites

1) Copied your config to Windows\System32\inetsrv\config

2) Ran this command: iisreset /restart

3) Same error page

4) Restarted the server and tried again with the same result

Capture.PNG

Share this post


Link to post
Share on other sites

The only thing I can tell is that it's not allowing you to access the test.php because you don't have sufficient permissions?

What happens if you remove the test.php file and try accessing it when it is missing. You should get the same error?

Do you have a space in the word base?

Look at your Physical Path - It appears you have a space in base -> ba se

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