diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-05-27 12:18:54 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-05-27 12:18:54 +0000 |
| commit | 6253ca1b62c24bbac8c380d4ae64353b671ad7ef (patch) | |
| tree | cccc0130b6fb065ff235750d23b817e890bd5e57 /src/http/ngx_http_special_response.c | |
| parent | 187fcd82410e0f9022b0090a27b040eb1211c3f5 (diff) | |
| download | nginx-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.c | 10 |
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), |
