7rrivera7 Posted October 7, 2019 Report Posted October 7, 2019 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 Quote
Morpheus Posted October 7, 2019 Report Posted October 7, 2019 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 Quote
7rrivera7 Posted October 30, 2019 Author Report Posted October 30, 2019 Performed a new installation from scratch and ended up with the same error. Files attached... Config.zip php.ini Quote
Morpheus Posted October 31, 2019 Report Posted October 31, 2019 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? Quote
7rrivera7 Posted October 31, 2019 Author Report Posted October 31, 2019 windows server 2019 standard edition Quote
Morpheus Posted October 31, 2019 Report Posted October 31, 2019 All the files look good. Attached id my config for IIS, try it. You will need to stop IIS, replace the file, and then restart IIS. applicationHost.config Quote
7rrivera7 Posted November 4, 2019 Author Report Posted November 4, 2019 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 Quote
Morpheus Posted November 4, 2019 Report Posted November 4, 2019 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 Quote
7rrivera7 Posted November 25, 2019 Author Report Posted November 25, 2019 It turned out to be permissions to test.php. I had to grant permission to the DefaultAppPool from the top of the INETPUB folder Quote
Morpheus Posted December 2, 2019 Report Posted December 2, 2019 On 11/25/2019 at 5:22 PM, 7rrivera7 said: It turned out to be permissions to test.php. I had to grant permission to the DefaultAppPool from the top of the INETPUB folder That is not normal? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.