HTTP Error 403.1-Access prohibited: Access Denied

Source: Internet
Author: User
I debugged a webpage in the lab today and used win2003 Internet Information Service (IIS) manager to create a website virtual directory. As a result, an error occurred while browsing the webpage. The error message is as follows:

---------------------------------------------------------

This page cannot be displayed

You are trying to execute CGI, ISAPI, or other executableProgramBut this directory does not allow execution of programs.

Please try the following operations:

    • If you believe that the directory should allow access, contact the website administrator.

HTTPError 403.1-Access prohibited: Access denied.
Internet Information Service (IIS)

Technical Information (for technical support personnel)

    • GoMicrosoftProduct Support ServiceSearch for titles including "HTTP" and "403.
    • Open "IIS Help" (which can be accessed in the IIS Manager (inetmgr ), search for topics titled "Configure ISAPI extensions", "Configure CGI applications", "Use website permissions to protect sites", and "about custom error messages.
    • In the IIS software development kit (SDK) orMsdn online library Search for topics titled "Developing ISAPI extensions", "ISAPI and CGI", and "debugging ISAPI extensions and filters.

Bytes -------------------------------------------------------------------------------------------------------

After debugging, it is found that the solution is actually very simple. The solution is as follows:

Choose "start"> "program"> "Management Tools"> "interneter Server Management", right-click your site in IIS, and choose "properties". In the "home directory" option, check whether the "execution permission" is set to "NONE". Change it to "Pure script" and save it.

If you forget the script-only option when creating a website

 

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.