Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a CGI script

Status
Not open for further replies.

tEkPhReAkk

IS-IT--Management
Dec 1, 2000
7
0
0
US
I have someone who needs to get their CGI (Perl) script to run under IIS. I understand that the script need to be in the cgi-bin directory, but when the script is called all it does, is load the actually script text in the browser. What did i miss in configuration?
 
Hard to tell anything from the info you've posted. Check the following, anyway:

1. Have you installed the Perl Interpreter?

2. The directory containing Perl scripts only requires Execute permission. It should never be granted Read or Write permissions.

Once installed, you must edit the ScriptMap in the Registry to include the MIME extension. The Value Name for Perl is .pl, its data type is REG_SZ, and string value is <full path>\perl.exe %s. Do not forget to include %s or Perl will not execute. Finally, you must restart the for the Registry change to take effect.

Hope this helps. Mubashir
muhammad.mubashir@sbp.org.pk

Imagination is more important than knowledge. - Newton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top