Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

IE not able to find my cgi script

2:28 pm on Jun 11, 2009 (gmt 0)

New User

5+ Year Member

joined:June 11, 2009
posts: 1
votes: 0

Hi All,

I am trying to configure IIS6.0 on Windows 2003 with ActivePerl 5.10. After following all the steps as mentioned in the below given link, my IE is still not able to locate my cgi script.
Link referred to configure IIS for cgi:
Perl Faq file under which comes with perl installation. The steps followed were:
To configure ActivePerl to work with IIS 6 on Windows 2003:
1.Load the Internet Information Services (IIS) Manager applet from Window's Administrative Tools menu.
2.Select the desired system, then select Web Service Extensions. Click Add New Web Service Extension.
3.Enter a descriptive Extension Name (such as "Perl CGI"), then enter the following string in the Required Files field:
C:\Perl\bin\perl.exe "%s" %s
As necessary, modify the path to the Perl executable on the selected system. Check Set Extension Status to Allowed, then click OK.
4.Expand the Web Sites directory in the IIS Manager and right-click Default Web Site. Select New Virtual Directory.... Use the wizard to specify the location of your Perl CGI programs. On the Access Permissions page, ensure that Read, Run Scripts and Execute are enabled.
5.Right-click the new virtual directory and select Properties. On the Mappings tab of the Application Configuration page, ensure that the .pl or .cgi extension is mapped to the Perl interpreter specified above. (Enter the same string in the Executable Path field as shown in step 3.)
6.In order to run ASP scripts, ensure that Active Server Pages are "allowed". Under the Web Service Extensions directory, select Active Server Pages. Change the status from "Prohibited" to "Allowed".
7.Restart the IIS service.

After doing all the above, when I enter http://localhost/cgi-bin/hello.pl, I get this error.

HTTP Status 404 - /cgi-bin/hello.pl
type Status report
message /cgi-bin/hello.pl
description The requested resource (/cgi-bin/hello.pl) is not available.
Apache Tomcat/5.5.17

I need to setup this webserver desparately. I am game for other methods or other webserver like Apache.

Appreciate it.


[edited by: phranque at 7:21 pm (utc) on June 11, 2009]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

5:49 pm on June 11, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 20, 2008
votes: 0

Uhh... I think you need to find an Apache Tomcat tutorial since it appears you are using that to run your CGI script from localhost. See the last line of the error message above?

Apache Tomcat/5.5.17


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members