Skip to content

Latest commit

 

History

13 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

HTTP-Error-Pages

Fancy error pages for your web server.

Apache Installation

You can simply run this command:

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:

Alias /http-error-pages /etc/apache2/http-error-pages
ErrorDocument 400 /http-error-pages/400.html
ErrorDocument 401 /http-error-pages/401.html
ErrorDocument 403 /http-error-pages/403.html
ErrorDocument 404 /http-error-pages/404.html
ErrorDocument 408 /http-error-pages/408.html
ErrorDocument 410 /http-error-pages/410.html
<Directory /etc/apache2/http-error-pages>
	AllowOverride None
	Require all granted
</Directory>

关于

Fancy error pages for your web server.

Topics

Resources

Stars

5 stars

关注者

2 watching

复刻s

发布

贡献者

Languages