APACHE, HTACCESS : afficher des pages d'erreurs personnalisées


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ErrorDocument 403 url/vers/la/page/403_personalisé.html //acces forbidden
  2. ErrorDocument 404 url/vers/la/page/404_personalisé.html //file not found
  3. ErrorDocument 500 url/vers/la/page/500_personalisé.html //internal server error

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.