Install mod_perl2 on Apache 2.2.14 (Ubuntu10.04)

Posted by MICADO on Server Fault See other posts from Server Fault or by MICADO
Published on 2011-02-01T22:03:28Z Indexed on 2012/10/13 3:39 UTC
Read the original article Hit count: 454

Filed under:
|
|

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!

© Server Fault or respective owner

Related posts about apache2

Related posts about debian