On Wed, Apr 16, 2003 at 08:02:05PM +0200, S�bastien wrote:
> Le Mercredi 16 Avril 2003 18:54, langlois a �crit :
> > La solution dans httpd.conf:
> > AddType application/x-httpd-php .php .php3
> > AddType application/x-httpd-php-source .phps
> >
> > Patrice Langlois
> 
> > Patrice Pillot wrote:
> ...
> > > LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
> > > AddType application/x-httpd-php .php .php4 .php3
> > > AddType application/x-httpd-php-source .phps
> > >
> > > et dans mime.types :
> > > application/x-httpd-php                         phtml pht php php4
> > > application/x-httpd-php-source                  phps
> > > application/x-httpd-php3                        php3
> > > application/x-httpd-php3-preprocessed           php3p
> ...
> 
> Je crois que c d�ja fait....

Oui, et c'est d'ailleurs l� qu'�tait le probl�me !

Pour une raison que j'ignore, il faut que le mime-type soit d�clar�
_soit_ dans la conf de apache (via AddType), _soit_ dans
/etc/[apache/]mime-type. Mon probl�me venait de ce qu'il �tait d�clar�
dans les deux � la fois. Une faq, une...

Merci � tous ceux qui m'ont r�pondu,

pp

Répondre à