Apache : j'ai fait une bourde !

Apache : j'ai fait une bourde ! - Débats - Linux et OS Alternatifs

Marsh Posté le 23-07-2002 à 18:35:03    

Ptain, j'ai touché à la config d'apache et maintenant il ne me prend plus les "index.php" , il marche qu'avec les "index.html"
pourtant index.php est dans la liste de recherche !!
C'est obligé d'avoir des hotes virtuels ou je peux les virer ?
Pk ca marche plus avec .php
qq peux m'aider, je suis dans le caca  :(  

Reply

Marsh Posté le 23-07-2002 à 18:35:03   

Reply

Marsh Posté le 23-07-2002 à 19:19:55    

si tu mets direct index.php ca marche ?
ou c'est le php qui ne marche plus
 
sinon dans httpd.conf :
 
<IfModule mod_dir.c>
    DirectoryIndex index.php index.php3
</IfModule>

Reply

Marsh Posté le 23-07-2002 à 19:39:04    

si si quand je tape l'url complete ca marche bien !
PHP fonctionne, par contre Apache indexe plus "index.php"
je vais voir la ou tu me dit !

Reply

Marsh Posté le 23-07-2002 à 19:51:01    

y a pas ce que tu me dit dans le .conf, par contre j'ai trouvé ça :
 

Code :
  1. HeaderName: the name of a file which should be prepended to
  2. # directory indexes.
  3. #
  4. # The server will first look for name.html and include it if found.
  5. # If name.html doesn't exist, the server will then look for name.txt
  6. # and include it as plaintext if found.
  7. #
  8. ReadmeName README
  9. HeaderName HEADER

 

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed