Closed Thread Icon

Preserved Topic: perl on Apache for nt (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Preserved Topic: perl on Apache for nt (Page 1 of 1)" rel="nofollow" >Preserved Topic: perl on Apache for nt <span class="small">(Page 1 of 1)</span>\

Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 12-04-2001 02:05

I want to learn more about perl, so the first step is to install it on my web server (apache), well i have activeperl installed in c:\perl,
how can make it work with apache?

Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 12-04-2001 05:33

You have to add the following block to your httpd.conf file

ScriptAlias /cgi-bin/ "d:/path/to/your/cgi-bin/folder"
<Directory "d:/path/to/your/cgi-bin/folder">
AllowOverride All
Order allow,deny
Allow from all

After that modify shebang line in your CGI scripts (that's the first line, starting with #!) to look like this:


And last insure that c:\perl\bin folder is added to the PATH environment variable, or you'll have to write full path in the shebang line, like this:


« BackwardsOnwards »

Show Forum Drop Down Menu