Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3160 connectés 

 


Dernière réponse
Sujet : C koi l'option de httpd.conf qui definit une page d'erreur 404 perso ?
Zaib3k

mad_overclocker a écrit :


 :ouch:  
troll ?? :??: [:meganne lapin]


 
ben non, mais j'ai des besoin tres limité :D resize et screenshot.


Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
Zaib3k

mad_overclocker a écrit :


 :ouch:  
troll ?? :??: [:meganne lapin]


 
ben non, mais j'ai des besoin tres limité :D resize et screenshot.

Romf c vous les trolls :o
Zaib3k

kadreg a écrit :


 
 


 
    Surfer avec MSIE, c'est comme retoucher une photo avec MS-Paint, ce n'est pas parce que c'est installé par défaut que c'est efficace.

 


 
j'utilise uniquement Paint, il me convient parfaitement.
 
etc..

kadreg

Zaib3k a écrit :


j'ai pas encore trouvé mieux  :o  


 
 


 
    Surfer avec MSIE, c'est comme retoucher une photo avec MS-Paint, ce n'est pas parce que c'est installé par défaut que c'est efficace.

Zaib3k

kadreg a écrit :


 
IE, sapu !


 
j'ai pas encore trouvé mieux  :o  surtout depuis le googlebar é.0

Romf

kadreg a écrit :


 
IE, sapu !


 
 [:meganne]  
 
encore à troller toi! :pfff:

kadreg

Zaib3k a écrit :

Citation :

Internet Explorer 5.0 provides error messages when it detects a standard error message from a server. Your custom message file must be larger than 512 bytes in order to bypass the standard IE5.0 error message.




 
IE, sapu !

BMOTheKiller il y a aussi la solution des htaccess, tu peux définir ta page d'erreur pour un répertoire donné, bref une page d'erreur perso selon l'endroit du site...
Zaib3k

kadreg a écrit :


 
Vide le cache de ton browser ?


 
en fait c'etait juste l'histoire de la taille < 512Octets
 
j'ai rajouté de l'ascii art en commantaires dans la page et ca roulz  [:joce]

kadreg

Zaib3k a écrit :


qq1 aurait une idée ?


 
Vide le cache de ton browser ?

Zaib3k

Citation :

Internet Explorer 5.0 provides error messages when it detects a standard error message from a server. Your custom message file must be larger than 512 bytes in order to bypass the standard IE5.0 error message.


 
et ouala merci moi  [:yaisse]

Zaib3k [:yoyoz]  ca marche pas chez moi :/
 
ErrorDocument 404 /404.htm
ErrorDocument 403 /403.htm
 
dans mon httpd.conf, restart, gracefull etc... rien a faire.
 
qq1 aurait une idée ?
Plouf02 Ca je sais pas [:spamafote]
raph93

plouf02 a écrit :

Bah moi ca a marche du premier coop,  
Changement du ErrorDocument 404 vers /404.html
et ajout de 404.html a la racine du site WEB :heink:


 
bon merci kan meme  
 
sinon c koi l'option pour autoriser le listage des rep. ??
 

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

Plouf02 Bah moi ca a marche du premier coop,  
Changement du ErrorDocument 404 vers /404.html
et ajout de 404.html a la racine du site WEB :heink:
raph93

plouf02 a écrit :

Car marche tjs pas :heink:
 
Ton DocumentRoot pointe bien vers ce dossier?


 
ben ouais , c chelou , tt mes site marchent (à part pour le problemes des images :/)

Plouf02 Car marche tjs pas :heink:
 
Ton DocumentRoot pointe bien vers ce dossier?
raph93

#    2) local redirects
ErrorDocument 404 /404.html
#  to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-includes.


 

[root@castor www]# ll
total 24
-rw-r--r--    1 root     root           32 Dec 11 17:44 404.html
drwxr-xr-x    4 root     root         4096 Dec 11 18:07 forum
drwxr-xr-x    4 root     root         4096 Nov 11 14:51 info
drwxr-xr-x    7 root     root         4096 Dec 11 17:17 mysql
drwxr-xr-x    3 root     root         4096 Dec 11 17:34 parc
drwxr-xr-x    2 root     root         4096 Dec 11 17:18 site
[root@castor www]#

Plouf02

Citation :

#    2) local redirects
ErrorDocument 404 "Page non trouvé"#  to redirect to local URL /404.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-includes.


 
Normal, toi tu veux ecrire qqchose directememnt alors kil faut rediriger vers une page ou sera ecrit "Page non trouve"

raph93

plouf02 a écrit :

Je viens de tester chez moi ca marche alors hein :o
 
T'as redemarrer apache :o :D


 
yep  
 
[root@castor www]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
 
j'ai essayé aussi avec un texte entre "" et nada  :p  
 
Extrait de mon httpd.conf :
 

#    2) local redirects
ErrorDocument 404 "Page non trouvé"
#  to redirect to local URL /404.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-includes.

stef_dobermann salut :hello:
 
Apres avoir modifié le httpd.conf ta redemaré apache pour que les modif soit prise en compte :??:
simple question  :heink:
Plouf02 Je viens de tester chez moi ca marche alors hein :o
 
T'as redemarrer apache :o :D
raph93

plouf02 a écrit :

ErrorDocument 404 /404.php
 
Tu mets le fichier a ouvrir a partir de la racine de ton site WEB donc toi c /404.html et non pas le chemin a partir de la racine du diske :o


 
 :heink: marche pas non plus  :D  :sweat:

Plouf02 ErrorDocument 404 /404.php
 
Tu mets le fichier a ouvrir a partir de la racine de ton site WEB donc toi c /404.html et non pas le chemin a partir de la racine du diske :o
raph93

plouf02 a écrit :

Citation :

# Customizable error response (Apache style)
#  these come in three flavors
#
#    1) plain text
#ErrorDocument 500 "The server made a boo boo.
#  n.b.  the single leading (" ) marks it as text, it does not get output
#
#    2) local redirects
#ErrorDocument 404 /missing.html
#  to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-includes.
#
#    3) external redirects
#ErrorDocument 402 http://some.other-server.com/subscription_info.html
#  N.B.: Many of the environment variables associated with the original
#  request will *not* be available to such a script.
 
#
# Customize behaviour based on the browser
#


 
Faut chercher un peu :o


 
jsuis dessus depuis 2 heure et ca veux pas marcher  :pfff:
 
j'ai mis ca  :heink:  
 

ErrorDocument 404 /home/www/404.html


 
 

Plouf02

Citation :

# Customizable error response (Apache style)
#  these come in three flavors
#
#    1) plain text
#ErrorDocument 500 "The server made a boo boo.
#  n.b.  the single leading (" ) marks it as text, it does not get output
#
#    2) local redirects
#ErrorDocument 404 /missing.html
#  to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-includes.
#
#    3) external redirects
#ErrorDocument 402 http://some.other-server.com/subscription_info.html
#  N.B.: Many of the environment variables associated with the original
#  request will *not* be available to such a script.
 
#
# Customize behaviour based on the browser
#


 
Faut chercher un peu :o

raph93 hein ??

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)