Connecting Tech Pros Worldwide Forums | Help | Site Map

preventing perl scripts from being downloadable

Newbie
 
Join Date: Oct 2007
Posts: 3
#1: Oct 20 '07
hi all,

im writing a perl script that gets called from my webpage. the script resides on my windows/IIS server but evertime it runs, it asks the user if they would like to download it. the whole point of the script is to hide these internal workings from the users. how do i prevent the popup from occurring?

cheers,

joe

rickumali's Avatar
Newbie
 
Join Date: Dec 2006
Location: Arlington, MA, USA
Posts: 20
#2: Oct 20 '07

re: preventing perl scripts from being downloadable


Quote:

Originally Posted by slowJoe22

im writing a perl script that gets called from my webpage. the script resides on my windows/IIS server but evertime it runs, it asks the user if they would like to download it.

It sounds like your Windows/IIS Server isn't properly configured to run the Perl script. Check into your configuration some more.

When IIS is configured to run the Perl script, the Perl program will run in IIS, and it won't pop up asking the user to download it.
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,571
#3: Oct 20 '07

re: preventing perl scripts from being downloadable


Quote:

Originally Posted by rickumali

It sounds like your Windows/IIS Server isn't properly configured to run the Perl script. Check into your configuration some more.

When IIS is configured to run the Perl script, the Perl program will run in IIS, and it won't pop up asking the user to download it.

More specifically, the web server is not properly setup to server perl scripts as CGI. You may want to examine your configuration as previously suggested.

Regards,

Jeff
Reply