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 |