summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_special_response.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-27 12:18:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-27 12:18:54 +0000
commit6253ca1b62c24bbac8c380d4ae64353b671ad7ef (patch)
treecccc0130b6fb065ff235750d23b817e890bd5e57 /src/http/ngx_http_special_response.c
parent187fcd82410e0f9022b0090a27b040eb1211c3f5 (diff)
downloadnginx-6253ca1b62c24bbac8c380d4ae64353b671ad7ef.tar.gz
nginx-6253ca1b62c24bbac8c380d4ae64353b671ad7ef.tar.bz2
nginx-0.0.1-2003-05-27-16:18:54 import
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 8c86b2437..4d9bba99f 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -39,6 +39,14 @@ static char error_404_page[] =
;
+static char error_405_page[] =
+"<html>" CRLF
+"<head><title>405 Not Allowed</title></head>" CRLF
+"<body bgcolor=\"white\">" CRLF
+"<center><h1>405 Not Allowed</h1></center>" CRLF
+;
+
+
static char error_408_page[] =
"<html>" CRLF
"<head><title>408 Request Time-out</title></head>" CRLF
@@ -89,7 +97,7 @@ static ngx_str_t error_pages[] = {
ngx_null_string, /* 402 */
ngx_string(error_403_page),
ngx_string(error_404_page),
- ngx_null_string, /* 405 */
+ ngx_string(error_405_page),
ngx_null_string, /* 406 */
ngx_null_string, /* 407 */
ngx_string(error_408_page),