[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache ssl pour webmail - Merci a tous, pb résolu



Frédéric SOLDNER a écrit:
alors je pose ma questoin autrement, comment peut on reconfigurer le php pour apache-ssl,
j'ai fait un dpkg-reconfigure php4, mais ca ne change rien.

j'ai bien dans mon httpd.conf les lignes

<IfModule mod_php4.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>

/etc/apache-ssl/modules.conf

mettre

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

à la fin

(note que je l'ai mis aussi dans httpd.conf à la fin également, l'un des 2 est superflu)

Rajout de index.php dans la ligne

<IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.htm index.shtml index.cgi
</IfModule>

Rajout de
    AddType application/x-httpd-php .php
dans la rubrique
<IfModule mod_mime.c>

(décommentez la ligne)

A priori tout cela est fait automatiquement si apache-ssl est installé lors de l'installation de php4. Je suggère un dpkg-reconfigure php4 après installation de apache-ssl.


François Boisson












Reply to: