IIS Server - problems with Active Perl for windows..

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > July 2005 > problems with Active Perl for windows..





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author problems with Active Perl for windows..
Asaf Nevo

2005-07-26, 5:54 pm

hey
i have active PERL for windows and it's running on my IIS.
when i'm writing simple CGI scripts like "hello world" there is now problem
but when i'm trying to use the $ENV{'QUERY_STRING'}
function suddenly when i'm browsing the site with IE it doesn't show it to
me and only give me an option to download it...


can you help me figure that out ?


Thanks
Asaf


Alok Kumar

2005-07-27, 5:54 pm

Are you sure that both your script files have the same extensions and are
they mapped in the IIS to point to "c:\Perl\bin\Perl.exe "%s" %s". If you are
getting prompted to download the file then that file extension (.pl) is not
mapped in your IIS.

Alok

"Asaf Nevo" wrote:

> hey
> i have active PERL for windows and it's running on my IIS.
> when i'm writing simple CGI scripts like "hello world" there is now problem
> but when i'm trying to use the $ENV{'QUERY_STRING'}
> function suddenly when i'm browsing the site with IE it doesn't show it to
> me and only give me an option to download it...
>
>
> can you help me figure that out ?
>
>
> Thanks
> Asaf
>
>
>

Asaf Nevo

2005-07-27, 8:48 pm

yes i have .pl and .cgi there... but it's in
d:\Programming\Perl\bin\perl.exe ... i don't think it supposed to metter..
can it be because of the file's header ?
what the header should be under windows (instead of #!/usr/bin/perl) ?

Asaf
"Alok Kumar" <AlokKumar@discussions.microsoft.com> wrote in message
news:9862223C-D891-4AC8-9086-13E06DEA23A4@microsoft.com...[vbcol=seagreen]
> Are you sure that both your script files have the same extensions and are
> they mapped in the IIS to point to "c:\Perl\bin\Perl.exe "%s" %s". If you
> are
> getting prompted to download the file then that file extension (.pl) is
> not
> mapped in your IIS.
>
> Alok
>
> "Asaf Nevo" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com