Article ID: 231998 - Last Review: October 27, 2002 - Revision: 1.0 HOW TO: FP2000: How to Use Perl with Microsoft Personal Web Server on Windows 95/98This article was previously published under Q231998 On This PageSUMMARY
The following article describes how to set up the Microsoft Personal Web Server to use the Windows version of Perl. This allows you to run Perl scripts on the Microsoft Personal Web Server. This article also includes a sample Perl script that can be used to test the Perl engine on your computer. WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. Configure the Microsoft Personal Web Server to Use PerlFor security reasons, you do not want Perl.exe to exist in any directory that can be browsed from other computers.With a script mapping in the registry, you can place the Perl.exe outside of the normal directory structure and avoid such security risks.
Create a Perl Script to Use for TestingCreate a file with Notepad, and type the following lines of code. Save the file as testing.pl in a folder in your web. Make sure this folder is marked executable.In Notepad, type the following: Test the ScriptTo test the script, browse to the Perl script in Internet Explorer.For example, if you placed the testing.pl file in a folder named cgi-bin in your root web, you would type the following in the Internet Explorer address bar: http://localhost/cgi-bin/testing.pl The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
| Article Translations
|
Back to the top
