1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Debian QA Group <packages@qa.debian.org>
Date: Fri, 12 Jul 2019 01:06:20 +0000
Subject: Change the default document root to /var/www/html
===================================================================
---
mini_httpd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mini_httpd.c b/mini_httpd.c
index d5ce4fd..1218dd0 100644
--- a/mini_httpd.c
+++ b/mini_httpd.c
@@ -1149,7 +1149,7 @@ handle_request( void )
char* cp;
int r, file_len, i;
const char* index_names[] = {
- "index.html", "index.htm", "index.xhtml", "index.xht", "Default.htm",
+ "index.html", "index.mini-httpd.html", "index.htm", "index.xhtml", "index.xht", "Default.htm",
"index.cgi" };
/* Set up the timeout for reading. */
|