Bonjour,

J'ai installé manuellement Apache 2.0.49 et PHP 4.3.5 sous redhat en suivant la procédure d'installation du manuel php.net : http://www.php.net/manual/fr/install.apache2.php

Apache se lance, si je tape http://localhost je tombe bien sur la page de test.
J'ai rajouté une page test.html, test.php, index.html, index.php dans le répertoire de mon site /tmp/mon-site-test/ ainsi que test.html dans /tmp/mon-site-test/pouet/
Or impossible d'avoir accès a autre chose que la 404 error quand je tape http://localhost/index.html ou http://localhost/index.php ou http://localhost/test.html et bien sûr aussi avec http://localhost/pouet/test/html

Mon httpd.conf est le suivant :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
  ServerRoot "usr/local/apache2"
   ...
  Listen 80
   ...
  LoadModule  php4_module modules/libphp4.so
   ...
  ServerAdmin pouet@pouet.com
   ...
  ServerName localhost:80
   ...
  DocumentRoot "/tmp/mon-site-test"
   ...
  DirectoryIndex index.php index.html index.html.var
   ...
  AddType application/x-httpd-php .php .php3 .php4 .phtml
   ...
Même l'adresse du webmaster sur la page 404 reste root@localhost au lieu de pouet@pouet.com

Après avoir pas mal cherché je vois pas
Si qqun a une idée ...