Hi,
httpd's autogenerated pages (file index and error page) should use the
"viewport" meta tag, because they would be better displayed on mobile
devices in my opinion.
--
matthias
diff --git usr.sbin/httpd/server_file.c usr.sbin/httpd/server_file.c
index 786f3677422..a09a5264e62 100644
--- usr.sbin/httpd/server_file.c
+++ usr.sbin/httpd/server_file.c
@@ -531,6 +531,7 @@ server_file_index(struct httpd *env, struct client *clt)
"<meta charset=\"utf-8\">\n"
"<title>Index of %s</title>\n"
"<style type=\"text/css\"><!--\n%s\n--></style>\n"
+ "<meta name=\"viewport\" content=\"width=device-width,
initial-scale=1\">\n"
"</head>\n"
"<body>\n"
"<h1>Index of %s</h1>\n"
diff --git usr.sbin/httpd/server_http.c usr.sbin/httpd/server_http.c
index 63c91e8d075..c611a416d87 100644
--- usr.sbin/httpd/server_http.c
+++ usr.sbin/httpd/server_http.c
@@ -1005,6 +1005,7 @@ server_abort_http(struct client *clt, unsigned int code,
const char *msg)
"<meta charset=\"utf-8\">\n"
"<title>%03d %s</title>\n"
"<style type=\"text/css\"><!--\n%s\n--></style>\n"
+ "<meta name=\"viewport\" content=\"width=device-width,
initial-scale=1\">\n"
"</head>\n"
"<body>\n"
"<h1>%03d %s</h1>\n"