HTTP Error 403.1-Prohibit access: execution access denied

Source: Internet
Author: User

Create a new file directory, the new download, extract the source file directory of the source files copied paste into the newly created file directory, and then created a virtual directory, browse on IIS, the error is as follows:

Display the following error p>http error 403.1 prohibit access: Prohibit execution of access
An attempt was made to execute a CGI, ISAPI, or other executable program from a directory, but this directory does not allow programs to be executed.
Hypertext Transfer Protocol error 403.1 prohibit access: Prohibit execution of access
An attempt was made to execute a CGI, ISAPI, or other executable program from a directory, but this directory does not allow programs to be executed.

searched for multiple answers:

1, in the IIS configuration. The default is No. Open the management of IIS, find the appropriate directory, open the properties, you can find several options, the tick can execute the program on the line.

2, use is windows2003 IIS6.0 bar.
Go to IIS, find Server Extensions under the Web site--〉 Select "Allow all unknown CGI" "Allow all Unknown ISAPI"

3, CGI and other programs must be in a specific folder to execute, such as CGI in a folder named Cgi-bin can be effectively executed
4, find the tool in IE, then choose the Internet option, find the Advanced tab inside, and then find a friendly URL, and the selection of the left to remove, all OK
5, perhaps IIS did not do well, with the system disk in the reload IIS try.
6, did not configure a good server Ah
7, copy the file to the wwwroot below. If not, then do a virtual directory, this do not explain it
8, is→ website → properties → home directory Select script and executable files such as NTFS configuration permissions Folder Options → View tick to use simple file sharing to reconfigure file rights
9, you can first try to access the virtual directory you created. Then use http://your machine name/your virtual directory name/filename. htm to test whether the picture or HTML static page can be browsed.
10, the main directory-> Execute permissions-> script and executable files, and then set everyone permissions. --------------Finally the problem was solved.

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.