Mercurial > hg > nginx
diff src/http/ngx_http_special_response.c @ 96:a23d010f356d
nginx-0.0.1-2003-05-27-16:18:54 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 May 2003 12:18:54 +0000 |
parents | 674d333f4296 |
children | c9b243802a17 |
line wrap: on
line diff
--- a/src/http/ngx_http_special_response.c Fri May 23 11:53:01 2003 +0000 +++ b/src/http/ngx_http_special_response.c Tue May 27 12:18:54 2003 +0000 @@ -39,6 +39,14 @@ ; +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 @@ 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),