| perlcode.com
|
| HOME
|
Configuring
the
Microsoft Personal Web Server To Run Perl Code You Must Have Perl.exe Installed First you need to configure PERL script mappingThis is done by making changes in the registry. You will need to use Regedit.exe to make the modification. It can be found in the windows directory.WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows95 to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
Restart the WWW service. Next Create a Test Script.Create a file with Notepad, and type the following lines of code. Save the file in the scripts directory as Helloworld.pl.print "HTTP/1.0
200 OK\n";
print "<HTML>\n";
Test it all out Once you have created the file, you need to configure PERL to run securely with Internet Information. Perl.exe should not be located in any of the directories accessible by a user with a browser. With a script mapping
in the registry, you can place the Perl.exe outside of the normal directory
structure a user has access to.
|
|||