-
Notifications
You must be signed in to change notification settings - Fork 30
/
000-jobe.conf
28 lines (24 loc) · 1.06 KB
/
000-jobe.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<VirtualHost *:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ErrorDocument 400 "400 HTTP_BAD_REQUEST"
ErrorDocument 401 "401 HTTP_UNAUTHORIZED"
ErrorDocument 403 "403 HTTP_FORBIDDEN"
ErrorDocument 404 "404 HTTP_NOT_FOUND"
ErrorDocument 405 "405 HTTP_METHOD_NOT_ALLOWED"
ErrorDocument 408 "408 HTTP_REQUEST_TIME_OUT"
ErrorDocument 410 "410 HTTP_GONE"
ErrorDocument 411 "411 HTTP_LENGTH_REQUIRED"
ErrorDocument 412 "412 HTTP_PRECONDITION_FAILED"
ErrorDocument 413 "413 HTTP_REQUEST_ENTITY_TOO_LARGE"
ErrorDocument 414 "414 HTTP_REQUEST_URI_TOO_LARGE"
ErrorDocument 415 "415 HTTP_UNSUPPORTED_MEDIA_TYPE"
ErrorDocument 500 "500 HTTP_INTERNAL_SERVER_ERROR"
ErrorDocument 501 "501 HTTP_NOT_IMPLEMENTED"
ErrorDocument 502 "502 HTTP_BAD_GATEWAY"
ErrorDocument 503 "503 HTTP_SERVICE_UNAVAILABLE"
ErrorDocument 506 "506 HTTP_VARIANT_ALSO_VARIES"
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet