PDA

View Full Version : Perl module for Debian.


Shadown
02-18-2006, 11:36 AM
When perl module start work Debian & apache?

Zoner
11-23-2006, 12:18 PM
Hi, we have also problems with .cgi / perl.

Got always error:
Options ExecCGI is off in this directory: /home/niemelacom/public_html/cgi-bin/site.cgi

Added .htaccess cgi-bin directory with:

Options +ExecCGI
Options -Indexes
AddHandler cgi-script .cgi .pl


But still problems.

Also /etc/httpd/conf/httpd.conf file comment lines:

<IfDefine HAVE_PERL>
#LoadModule perl_module modules/libperl.so
</IfDefine>

and

<IfDefine HAVE_PERL>
#AddModule mod_perl.c
</IfDefine>

If i uncomment these, apache wont work.

klaver
01-08-2007, 04:15 AM
The solution to this problem is very simple, the customapache build needs libperl development files on Debian to build a proper mod_perl.

apt-get install libperl-dev

cd /usr/local/directadmin/customapache

./build all


That should do the trick :)

I hope the DirectAdmin staff would add this command to the setup script.