项目作者: hell-sh

项目描述 :
Fancy error pages for your web server.
高级语言: HTML
项目地址: git://github.com/hell-sh/HTTP-Error-Pages.git
创建时间: 2017-12-09T06:49:53Z
项目社区:https://github.com/hell-sh/HTTP-Error-Pages

开源协议:MIT License

下载


HTTP-Error-Pages

Fancy error pages for your web server.

Apache Installation

You can simply run this command:

  1. wget -qO- https://installation.hell.sh/apache-http-error-pages | bash

or clone HTTP-Error-Pages into /etc/apache2/http-error-pages, and then add this to your apache2.conf:

  1. Alias /http-error-pages /etc/apache2/http-error-pages
  2. ErrorDocument 400 /http-error-pages/400.html
  3. ErrorDocument 401 /http-error-pages/401.html
  4. ErrorDocument 403 /http-error-pages/403.html
  5. ErrorDocument 404 /http-error-pages/404.html
  6. ErrorDocument 408 /http-error-pages/408.html
  7. ErrorDocument 410 /http-error-pages/410.html
  8. <Directory /etc/apache2/http-error-pages>
  9. AllowOverride None
  10. Require all granted
  11. </Directory>