That's it exactly Nicos! (Well almost.) I added the line to my httpd.conf rather than conf.d/perl.conf. Works like a charm. Thanks!
Chris On Mon, 19 Jul 2004, Nicos Gollan wrote: > On Sun, 18 Jul 2004 22:50:33 -0400 (EDT) > Chris Gorman <[EMAIL PROTECTED]> wrote: > > > I'm wondering if anyone is running libapache-mod-perl2 from sarge. > > I'm getting some odd errors which look to be related to an error in > > the perl environment. I'm trying to use ModPerl::Registry, formerly > > Apache::Registry with apache2. Per the instructions at > > perl.apache.org, I've made a http.conf which looks like... > > > > # mod-perl cgi scripts to be executed by ModPerl::Registry > > PerlModule ModPerl::Registry > > Alias /cgi-perl/ /usr/local/lib/cgi-perl/ > > <Location /cgi-perl> > > SetHandler perl-script > > PerlResponseHandler ModPerl::Registry > > # PerlOptions +ParseHeaders > > # PerlOptions -GlobalRequest > > Options +ExecCGI > > </Location> > > Did you load the Apache2 module somewhere? From the error you posted, it > doesn't look so. > > In /etc/apache2/conf.d create a file perl.conf with only one line: > PerlModule Apache2 > > And in /etc/apache2/mods-enabled, create a symlink to > /etc/apache2/mods-available/perl.load > If there is no such file, try creating one with that line in it: > LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so > > After restarting the server, @INC should look something like this for > scripts run by the server, except for some custom elements: > > - /usr/local/lib/perl/5.8.4/Apache2 > - /etc/perl > - /usr/local/lib/perl/5.8.4 > - /usr/local/share/perl/5.8.4 > - /usr/lib/perl5 > - /usr/share/perl5 > - /usr/lib/perl/5.8 > - /usr/share/perl/5.8 > - /usr/local/lib/site_perl > - . > - /etc/apache2/ > - /etc/apache2/lib/perl > > Notice the topmost line, which will probably point not to the /usr/local > structure for an install from packages, but still lead to the Apache2 > subdirectory. It is placed there by the Apache2 module to avoid > ambiguities with the Apache 1.3 mod_perl (yes, you can install both > without any problems). > > -- > Got Backup? > > Jabber: Shadowdancer at jabber.fsinf.de > ------------------------------- "I should have been a plumber." --Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]