Gentoo Archives: gentoo-user

From: Antoine <melser.anton@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] mod_perl2
Date: Sun, 11 Sep 2005 12:10:15
Message-Id: 43241D56.7070001@gmail.com
1 Hi,
2 I just can't seem to figure out how to get perl working on apache2.
3 There don't seem to be any decent gentoo-specific docs, and it seems
4 like the names of config files are changing constantly :-(.
5 Anyway, I have installed ~x86 apache2 and mod_perl. What do I do now? I
6 have tried to test things but when I put the following in httpd.conf
7 apache no longer starts.
8
9 Alias /perl/ /home/httpd/perl/
10
11 <Location /perl>
12 SetHandler perl-script
13 PerlHandler Apache::Registry
14 Options ExecCGI
15 PerlSendHeader
16 On
17 PerlSetupEnv On
18 </Location>
19
20 tux ~ # /etc/init.d/apache2 restart
21 * Apache2 has detected a syntax error in your configuration files:
22 Syntax error on line 1104 of /etc/apache2/httpd.conf:
23 Invalid command 'PerlHandler', perhaps mis-spelled or defined by a
24 module not included in the server configuration
25 Can someone point me in the right direction? It seems a lot more
26 complicated than simply adding -D PHP4...
27 Cheers
28 Antoine
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Build Problem Greg Armer <greg@×××××××××××.za>
Re: [gentoo-user] mod_perl2 q-parser <quickparser@×××××.com>