We converted from Unix and had a lot of different things going on with Perl.
Here's how we ended up getting AS Perl to work.  We also use PerlEX, so if
you don't, just skip those instructions.  We had a heck of a time getting
things to work.  All the information was found from different sources.
Maybe they have better instructions now, but I'm sending this in case they
don't.

Function:       Perl & PerlEX or How to get the website running

Brief Description:      Here are all the basics to get the cgis to work 

The security for all access needs to be audited and changed.

Issues and Directions
        1.      Install ActiveState Perl
        2.      Install ActiveState PerlEx (it goes into the same directory
as Perl)
        3.      Copy the ActiveState PerlEx license into the \perl\bin\
directory
        4.      Install the extra \perl\lib\ modules into the new \perl\lib\
directory
        5.      Go to a DOS prompt, c:\Inetpub\AdminScripts\.  Run:
adsutil.vbs SET W3SVC/1/CreateCGIWithNewConsole 1This will probably give an
error the 1st time you run it.  That's OK.  RUN IT AGAIN!!!For more info on
this fix, see http://www.4images.com/ntperl/iis4.htm
        6.      Make sure you run the command above twice.
        7.      Configure the perl script mapping. Start Internet Service
Manager.  Right-click the Default web site(s).  Choose Properties.  Choose
Home Directory tab.  Choose Configuration. --Map .pl to c:\perl\bin\perl.exe
%s %s.  --Map .cgi to c:\perl\bin\PerlISex.dll (this is if you run PerlEx)
        8.      Restart IIS.  The website should now work.   


Development Notes
Extra change
I do not believe this change is necessary anymore for PerlEx and Win2K.
However, if there are still problems, go ahead and make this change.  
Go to regedt32.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script
Map.  Click Add Value from Edit menu.  The Value name is .pl.  The Data type
is REG_SZ.  The String value is f:\perl\bin\PerlISex.dll.  Restart the WWW
service.
For more info on this fix, see
http://support.microsoft.com/support/kb/articles/Q150/6/29.asp
 
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to