This is probably what you need more or less. You have to tell Apache what
files are your mod perl scripts (or more specifically what files you want
handled by Apache::Registry - the persistent cgi program module).
Alias /perl/ /home/httpd/perl/
PerlModule Apache::Registry
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Location>
http://perl.apache.org/guide/config.html is the configuration portion of a
great guide by Stas Berkman that has this information in it. The O'Reilly
book Building Apache Modules with Perl and C has some instructions about
this as well. Recommened.
Wade
----- Original Message -----
From: "Terry Davis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 12:53 PM
Subject: mod_php mod_perl install with apache problems - same story :(
> Hello!
>
> Well, I have seen a ton of people with this problem but no answers.
> I have mod_php compiled in with apache along with mod_ssl.
> I want to use apxs to build mod_perl. I have done this and apache
> starts fine, but it does not render the perl, for lack of better terms.
> It simply prints the source. The only directives i have in httpd.conf
> are LoadModule and DirectoryIndex. When I start apache, apachectl
> startssl, the eror log says:
> Apache/1.3.17 (Unix) mod_perl/1.25 PHP/4.04 mod_ssl/2.8.0 OpenSSL/0.9.6
> configured -- resuming normal operations.
> This all looks fine.
> Anyone have any insight as to what my problem may be?
>
> Thank you!
>
> --
> Terry Davis
> Systems Administrator
> BirdDog Solutions, Inc.
> 2102 N 117th Ave
> Omaha, NE 68164
> voice: (402) 829-6059
> fax: (402) 829-6199
> pager: (877) 973-6995
> [EMAIL PROTECTED] www.birddog.com
>