next up previous contents
Next: Configuration de prelude-perl-frontend Up: Installation et configuration du Previous: Installation de prelude-perl-frontend   Contents

Configuration d'Apache

Modifez le fichier /etc/apache-ssl/httpd.conf, pour avoir les lignes suivantes : Listen 192.168.0.2

DirectoryIndex index.pl index.html index.htm

ServerName localhost

DocumentRoot /var/www/

et rajouter les lignes suivantes :

     <Directory "/var/www/frontend-perl/">
       Options ExecCGI
       AddHandler cgi-script .pl
     </Directory>

Puis transformer

# If the perl module is installed, this will be enabled.
<IfModule mod_perl.c>
  Alias /perl/ /var/www/perl/
  <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
  </Location>
</IfModule>
en ce qui suit
# If the perl module is installed, this will be enabled.
<IfModule mod_perl.c>
  Alias /perl/ /var/www/frontend-perl/
  <Location /var/www/frontend-perl/>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
  </Location>
</IfModule>



Lehmann Guillaume 2003-04-13