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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to associate perl prog to execute in pws

Status
Not open for further replies.

rajesh140

Programmer
Nov 4, 2001
1
IN
I use pws as web server to host my cgi (perl)prog

but when ever i try to send a req through a html form to

perl file. Without displaying the output entier prog is

displayed as it is. What are the settings to be done to

pws to execute perl prog.
 
You need to go into Properties/Advanced. Make sure there is a "virtual directory" for your cgi directory (usually /cgi-bin or /cgi-local). Then make sure that directory points to the actual directory that your perl program is stored in. Also make sure that in the "Edit Properties" or "Add" dialog for that directory the "Execute" and "Scripts" checkboxes are checked.

Make sure also that the first line of your perl program (the one that starts with #!) contains the path to where perl.exe is located on your system. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top