Skip to content

Commit 4a71b2a

Browse files
author
Andi Dittrich
committed
Added Custom HTTP533
1 parent 3c9d083 commit 4a71b2a

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,22 @@ Simple, [Bootstrap](http://getbootstrap.com/) based HTTP Error Page Generator. C
1717

1818
## Integration ##
1919

20-
## Lighttpd ##
20+
### Lighttpd ###
2121
[Lighttpd](http://www.lighttpd.net/) supports custom error-pages using the [server.errorfile-prefix](http://redmine.lighttpd.net/projects/lighttpd/wiki/Server_errorfile-prefixDetails) directive.
22+
2223
File: `lighttpd.conf`
24+
2325
Example - assumes HttpErrorPages are located into `/var/www/ErrorPages/`.
2426

2527
```ApacheConf
2628
server.errorfile-prefix = "/var/www/ErrorPages/HTTP"
2729
```
2830

29-
## Apache Httpd##
31+
### Apache Httpd ###
3032
[Apache Httpd 2.x](http://httpd.apache.org/) supports custom error-pages using multiple [ErrorDocument](http://httpd.apache.org/docs/2.4/mod/core.html#errordocument) directives.
33+
3134
File: `httpd.conf` or `.htaccess`
35+
3236
Example - assumes HttpErrorPages are located into your **document root** `/var/www/...docroot../ErrorPages`.
3337

3438
```ApacheConf
@@ -42,9 +46,11 @@ ErrorDocument 502 /ErrorPages/HTTP502.html
4246
ErrorDocument 503 /ErrorPages/HTTP503.html
4347
```
4448

45-
## NGINX ##
49+
### NGINX ###
4650
[NGINX](http://nginx.org/) supports custom error-pages using multiple [error_page](http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page) directives.
51+
4752
File: `httpd.conf` or `.htaccess`
53+
4854
Example - assumes HttpErrorPages are located into `/var/www/ErrorPages/`.
4955

5056
```ApacheConf

0 commit comments

Comments
 (0)