Forum Moderators: phranque

Message Too Old, No Replies

Apache 2.0.52 and Active Perl 5.8.6.811 dont work

         

JAB Creations

9:52 am on Dec 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm trying to get PERL to work with Apache. I know that Apache is *NOT* seeing perl. So I ended up looking for another version of Apache that had Perl already built in.

The main problem is that the developers know how to code but they couldn't teach someone how to twist a door handle if their life depended on it! So with absolutely no clear full tutorials on how to get Perl running on Apache on my box I'm feeling (and I'm going to put this as extremely conservative as I can) really frustrated!

I've got Apache 2.0.52 and Active Perl 5.8.6.811 installed. You'd THINK that AP would reconfigure Apache so Apache is aware of AP but no... that would be too difficult...

I know what I need to do is edit conf/httpd.conf.

From my point of view all I know is that Apache isn't seeing Perl. This means when you enter the address to the perl script you see ALL the code!

Here are my paths perl and apache ...

C:\MEDIA\INTERNET\Apache2\
C:\MEDIA\INTERNET\Apache2\conf\httpd.conf

C:\MEDIA\INTERNET\Perl
C:\MEDIA\INTERNET\Perl\bin\perl.exe

Must every attempt I make to learn any aspect of web development present an unyielding attempt to induce utter insanity and immeasurable ammounts of frustration? >__>

kalos

6:31 am on Jan 5, 2005 (gmt 0)

10+ Year Member



Add this to http.conf (just below the last LoadModule):

LoadFile "C:/usr/bin/perl58.dll"

Replace my path to the Perl dll with yours.

Since my server uses CGIs all over the place I uncomment the following line to make life easier:

AddHandler cgi-script .cgi

From there you should be fine.

Hope this helps,
-ben

kalos

6:32 am on Jan 5, 2005 (gmt 0)

10+ Year Member



As an aside ,and afterthought, you'd think that ActivePerl would come with CGI and DBI preinstalled as well but every time I've installed it I have to ppm both.

Cest la guerre.