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.

let me get that straight:

if the script has a .pl extension, your browser tries to download it even 
with the '?whatever' portion append at the end

if the script has a .cgi extension, the source code of the script is 
displayed even with the '?whatever' portion append at the end

if you run your scripts in a DOS windows with just its name like:

c:\whatever>your_script.pl

or:

c:\whatever>your_script.cgi

both runs fine. correct?

david

> 
>> -----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]

Reply via email to