Perl module for Debian.

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.
 
libperl debian problem SOLVED

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.
 
Back
Top