Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Perl under Win 2000 & IIS 5.0

by gary kuipers (Beadle)
on Oct 11, 2001 at 04:04 UTC ( #118132=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl under Win 2000 & IIS 5.0
in thread Perl under Win 2000 & IIS 5.0

I uninstalled Perl and reinstalled it. Same behaviour. Perl works from the command prompt.
 
Here's the error when I click on the link:  
"you have chosen to download a file from this location ..."
 
The virtual directory where the perl script resides has:
script source access - OFF
read - ON
write - OFF
Directory browsing - OFF
log access - ON
index this resource - ON
 
IIS seems to be configured to think a .pl is a downloadable file. This even though the "Home Directory - Configuration - Application Configuration clearly has:
Extention - .pl
Executable path - e:\perl\bin\perl.exe -T %s %s
Verbs - (all)
 
One can actually download the source if one says "save" when the download window is presented. If one choses "run from this location" a DOS box opens, shows the output of the execution and then closes.


Comment on Re: Re: Perl under Win 2000 & IIS 5.0
Re: Re: Re: Perl under Win 2000 & IIS 5.0
by earthboundmisfit (Chaplain) on Oct 11, 2001 at 17:27 UTC
    Contents of your PATH env var? E:\Perl\bin\ needs to be in there.

    You say that the script mapping is configured a certain way, but have you checked to make sure it is defined both for the top level and the server instance below? The top level in the IIS Manager is the machine name. Server instances run under it in the tree display of the Manager and is named 'WWW Server' by default. Perhaps you have the top level script mapping defined, but there is an anomaly in the server instance.

    Try perl -V and check to mak sure the @INC paths are right.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-07-11 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls