I have installed via synaptic package ibapache2-mod-perl2.
I tried this line in httpd.conf:
LoadModule perl_module modules/mod_perl.so"
Apache tells me when I reload the server :
[warn] module perl_module is already loaded, skipping".
Well ok, but when i try to look in the browser to a repertory i don't have access .Apache send me the error :
Forbidden You don't have permission to access /cgi-bin/ on this server. Apache/2.2.14 (Ubuntu) Server at 192.168.0.10 Port 90
But this should show modperl is installed and that's not the case...
I would like my virtual host that follows run with mod_perl2
<VirtualHost v1:80> ServerAdmin webmaster@localhost ServerName v1 DocumentRoot /var/www/v1 <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/v1/html/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /var/www/v1/cgi-bin/ <Directory "/var/www/v1/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>
I'd like to know how to configure mod_perl2. Do i have to change something in the apache configuration file to make my cgi repertory works with mod_perl2? Thanks to any help!