From: Paul Querna Date: Sun, 5 Sep 2004 06:35:32 +0000 (+0000) Subject: fix XHTML 1.0 Validation Errors. X-Git-Tag: 2.1.1~345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29f9e866fa6645d496c8b96048096257d59e25d7;p=apache fix XHTML 1.0 Validation Errors. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105000 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index 10fdc18615..4659435ea9 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -321,7 +321,7 @@ static int show_server_settings(request_rec *r) server_rec *serv = r->server; int max_daemons, forked, threaded; - ap_rputs("Server Settings", r); + ap_rputs("

Server Settings

", r); ap_rprintf(r, "
Server Version: " "%s
\n", @@ -363,7 +363,8 @@ static int show_server_settings(request_rec *r) "
Config File: " "%s
\n", ap_conftree->filename); - ap_rputs("
Server Built With:\n\n
", r);
+    ap_rputs("
Server Built With:\n" + "\n", r); /* TODO: Not all of these are getting set like they do in main.c. * Missing some headers? @@ -509,7 +510,7 @@ static int show_server_settings(request_rec *r) #ifdef SERVER_CONFIG_FILE ap_rputs(" -D SERVER_CONFIG_FILE=\"" SERVER_CONFIG_FILE "\"\n", r); #endif - ap_rputs("
\n", r); + ap_rputs("\n", r); ap_rputs("

", r); return 0; } @@ -545,7 +546,7 @@ static int dump_a_hook(request_rec *r, hook_get_t hook_get) static int show_hooks_settings(request_rec *r) { int i; - ap_rputs("

Active Hooks

\n
", r); + ap_rputs("

Active Hooks

\n
", r); for (i = 0; request_hooks[i].name; i++) { ap_rprintf(r, "
%s:\n
\n", @@ -577,7 +578,10 @@ static int display_info(request_rec *r) ap_set_content_type(r, "text/html"); ap_rputs(DOCTYPE_XHTML_1_0T - "\n \n Server Information\n \n", + "\n" + "\n" + " Server Information\n" + "\n", r); ap_rputs("

" "Apache Server Information

\n", r);