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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.