Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

CGI & MS Personal Web Server

Is the MS Personal Web Server capable of running CGI Perl, and if so how does on enable it to do so?
0
BlueSkai
Asked:
BlueSkai
1 Solution
 
fasterCommented:
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).
0
 
BlueSkaiAuthor Commented:
Helpful, now all I need to do is find out how to map a directory with execute only permission?
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now