diff options
author | Jose dos Santos Junior <j.s.junior@live.com> | 2018-12-12 05:19:14 +0000 |
---|---|---|
committer | Dmitry Bogatov <KAction@debian.org> | 2018-12-12 05:19:14 +0000 |
commit | 1951af704db96aa995dc07901f2b9df7acf67ace (patch) | |
tree | 90328c92fc0549f5f88eced1383aaeec7d30d39d | |
parent | 11b9886eb00fd0579d5f8a5ab490a66e298f0ae1 (diff) |
Change the default document root to /var/www/html
===================================================================
Gbp-Pq: Name fix-change-index-document-root
-rw-r--r-- | mini_httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |