[an error occurred while processing this directive]
  Using MyWebServer
Create Followup Message Return To Discussion Help

Message  |   Discussion - Using MyWebServer

Re: how do i run perl scripts

Posted by (65.185.108.249) on November 12, 2002 at 16:52:29:

In Reply to: how do i run perl scripts posted by unknow on October 21, 2002 at 01:30:51:

: i have been trying to run this script

:
: #!/bin/perl
: print ("Content-type:text/html\r\n\r\n");
: print ("

Hello World!

");

:
: but i cant get it to work

1. Install Perl

2. Click Configure. Check the "Use Enable /cgi-bin directory" field in the Server Properties Page. Click the Save and Continue buttons.

3. Click Configure. Click the "Script" button.
Add an entry for .pl and .cgi with the path to your Perl interpeter .

4. You may need to ad perl to your path statement.
so that perl can be executed from any directory.

5. If you are using MyWebServer 1.0.2 or earlier your perl script must be located in the cgi-bin directory.



Post Followup Message   |   Discussion - Using MyWebServer

  Using MyWebServer
Create Followup Message Return To Discussion Help