comparison src/http/ngx_http_special_response.c @ 45:f1ee46c036a4

nginx-0.0.1-2003-01-10-09:09:20 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Jan 2003 06:09:20 +0000
parents 53cb81681040
children d81326c3b21b
comparison
equal deleted inserted replaced
44:0e81ac0bb3e2 45:f1ee46c036a4
17 "<head><title>400 Bad Request</title></head>" CRLF 17 "<head><title>400 Bad Request</title></head>" CRLF
18 "<body bgcolor=\"white\">" CRLF 18 "<body bgcolor=\"white\">" CRLF
19 "<center><h1>400 Bad Request</h1></center>" CRLF 19 "<center><h1>400 Bad Request</h1></center>" CRLF
20 ; 20 ;
21 21
22 static char error_403_page[] =
23 "<html>" CRLF
24 "<head><title>403 Forbidden</title></head>" CRLF
25 "<body bgcolor=\"white\">" CRLF
26 "<center><h1>403 Forbidden</h1></center>" CRLF
27 ;
28
22 static char error_404_page[] = 29 static char error_404_page[] =
23 "<html>" CRLF 30 "<html>" CRLF
24 "<head><title>404 Not Found</title></head>" CRLF 31 "<head><title>404 Not Found</title></head>" CRLF
25 "<body bgcolor=\"white\">" CRLF 32 "<body bgcolor=\"white\">" CRLF
26 "<center><h1>404 Not Found</h1></center>" CRLF 33 "<center><h1>404 Not Found</h1></center>" CRLF
34 { 0, NULL}, /* 304 */ 41 { 0, NULL}, /* 304 */
35 42
36 { sizeof(error_400_page) - 1, error_400_page }, 43 { sizeof(error_400_page) - 1, error_400_page },
37 { 0, NULL}, /* 401 */ 44 { 0, NULL}, /* 401 */
38 { 0, NULL}, /* 402 */ 45 { 0, NULL}, /* 402 */
39 { 0, NULL}, /* 403 */ 46 { sizeof(error_403_page) - 1, error_403_page },
40 { sizeof(error_404_page) - 1, error_404_page }, 47 { sizeof(error_404_page) - 1, error_404_page },
41 48
42 { 0, NULL} /* 500 */ 49 { 0, NULL} /* 500 */
43 }; 50 };
44 51