D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Debian testing, Apache2 & mod_perl



Hi all,

I'm trying to get a web server configured under Debian testing but I just 
can't make mod_perl work.

I've apt-got all the appropriate packages and I've messed about with the 
configuration options for ages...

What I've got is home directories with public_html/cgi-bin directories. Apache 
just doesn't execute any scripts. I've made sure the module is being loaded 
(it is), checked all the permissions, executed the scripts on the command 
line and tried giving them a .cgi extension but nothing has helped. I've got 
another apache2 install on another machine which works with the same config 
directives I've got here, but I compiled apache2 + mod_perl manually and 
didn't use the Debian packages. I have of course Googled but didn't manage to 
turn up anything.

I apt-got mod_php, and it just worked so I can't see why mod_perl doesn't.

Here are all the configuration statements referring to perl, collected from 
the various places Debian likes to spread them under /etc/apache2:

LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
PerlModule Apache2
<Directory /home/*/public_html/cgi-bin>
   Options +ExecCGI
   SetHandler cgi-script
</Directory>

I'd be very grateful for any help - this has been driving me insane all day.

Thanks,
David.

-- 
David Johnson
http://www.david-web.co.uk/
http://www.penguincomputing.co.uk/

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly