diff options
author | Eric Covener <covener@apache.org> | 2020-01-31 03:38:05 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2020-01-31 03:38:05 +0100 |
commit | fbecdc0f1e9b9b4b00fd036cfe576d2760b348b8 (patch) | |
tree | ab5582011c380bf201270f47e1cb5414219c3b77 /modules/generators | |
parent | PR63678: Clarify fcgistarter -c parm (diff) | |
download | apache2-fbecdc0f1e9b9b4b00fd036cfe576d2760b348b8.tar.xz apache2-fbecdc0f1e9b9b4b00fd036cfe576d2760b348b8.zip |
PR62989: DOCTYPE tags in server-generated HTML.
Submitted By: Andra Farkas <deepbluemistake gmail.com>, Giovanni Bechis <giovanni paclan.it>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_autoindex.c | 2 | ||||
-rw-r--r-- | modules/generators/mod_status.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index c887056312..21fc59a011 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -179,7 +179,7 @@ static void emit_preamble(request_rec *r, int xhtml, const char *title) " <head>\n <title>Index of ", title, "</title>\n", NULL); } else { - ap_rvputs(r, DOCTYPE_HTML_3_2, + ap_rvputs(r, DOCTYPE_HTML_4_01, "<html>\n <head>\n" " <title>Index of ", title, "</title>\n", NULL); diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index 5917953090..8e80202c44 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -412,7 +412,7 @@ static int status_handler(request_rec *r) ap_get_loadavg(&t); if (!short_report) { - ap_rputs(DOCTYPE_HTML_3_2 + ap_rputs(DOCTYPE_HTML_4_01 "<html><head>\n" "<title>Apache Status</title>\n" "</head><body>\n" |