We help IT Professionals succeed at work.

CGI & MS Personal Web Server

BlueSkai
BlueSkai asked
on
Medium Priority
206 Views
Last Modified: 2013-12-25
Is the MS Personal Web Server capable of running CGI Perl, and if so how does on enable it to do so?
Comment
Watch Question

Commented:
Tha answer is yes.

You need to do some config: map a directory to the cgi directory and let it has the execute access but not read access.  Then put any .pl file in that directory and it should be OK.  If it is not, your perl is not installed perfectly.  Check the registry (using regedit.exe), it should has such an entry: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script Map.

Under this key, there should be a name ".pl" with the value of either "c:\perl\bin\perl.exe %s" or "C:\Perl\bin\PerlIS.dll" (use the correct path on your PC).

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Helpful, now all I need to do is find out how to map a directory with execute only permission?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.