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