Warning: include(../plugins/glossaire/conf_defaut2.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 29

Warning: include(): Failed opening '../plugins/glossaire/conf_defaut2.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 29

Warning: Undefined variable $res_group in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 33

Warning: Trying to access array offset on value of type null in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 33

Warning: include(../plugins/glossaire/gloss_inc1.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 36

Warning: include(): Failed opening '../plugins/glossaire/gloss_inc1.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 36

Warning: include(../plugins/glossaire/gloss_mob_inc2.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 37

Warning: include(): Failed opening '../plugins/glossaire/gloss_mob_inc2.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 37
Centre d aide GuppY

  Accueil 
Index sur le Serveur : changer l'ordre de priorité.

Par exemple si l'ordre de priorité des index par défaut est le suivant :

Pour le changer il faut insérer par FTP la ligne suivante au début du fichier .htaccess de la racine livré avec GuppY :

DirectoryIndex index.html index.htm index.php index.phtml (Il est possible de placer les index dans l'ordre que l'on veut avec un espace entre chacun d'entre eux)
 

Le fichier .htaccess de la racine deviendra donc :

DirectoryIndex index.html index.html index.php index.phtml

Order allow,deny

Deny from all

Satisfy All

Order allow,deny

Deny from all

Satisfy All

ErrorDocument 400 /error.php?err=400

ErrorDocument 401 /error.php?err=401

ErrorDocument 403 /error.php?err=403

ErrorDocument 404 /error.php?err=404

ErrorDocument 500 /error.php?err=500
 

 Cette astuce permet d'utiliser une page d'intro *.htm ou *.html sur un serveur ou index.php est défini par défaut.


Date de création : 23/02/2005 @ 06:40
Dernière modification : 23/02/2005 @ 06:40
Catégorie : Serveur - Technique
Page lue 18974 fois
Haut

© 2004-2024

Document généré en 0.02 seconde