Hi Paul, Did you set up IIS for the virtual directory? You need top add a virtual directory for each location you'll be serving these scripts up from. File-system opening will not work as it does with static HTML. 1. Create a virtual directory in IIS 2 Right-click on it, and choose properties 3. Click configure 4. Make sure that *.pl and *.cgi are listed as file types for the server to handle. The path to the executable should be followed by " %s %s", like: f:\Perl\bin\perl.exe %s %s 5. Hake sure All Verbs is selected 6. Use the http://localhost/path URL format to access your script
Joseph Paul Kraus wrote: > nope that's the stumper. I use Perl all the time for business and just > to play around I wanted to mess with cgi. The non cgi stuff works fine. > Actually I can ran the cgi stuff from the command line just fine to. > > > -----Original Message----- > > From: david [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, January 07, 2003 4:49 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Cgi Win xp Perl > > > > > > Paul Kraus wrote: > > > > > same issues. If it's a pl file it tries to download. If its > > .cgi then > > > it just displays my code. > > > > > > > what happen if you type your cgi_script.pl in the DOS prompt? > > does Windos > > complain about not able to execute the script? if so, > > Windos(as well as > > IIS) probably doesn't know how to execute your *.pl file. you > > probably have > > to associate *.pl with your Perl binary. > > > > david > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]