Your message dated Sun, 24 Nov 2013 14:34:04 -0600
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #730382,
regarding nginx: Please change the default document root to /var/www/html
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
730382: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730382
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nginx
Severity: important
User: [email protected]
Usertags: default-doc-root

Hello,

as discussed last year in <[email protected]> [1] I'd now
take the current development cycle to actually change the default
Document Root in Debian's http servers. The reasons are outlined in
the referenced mailing list thread, but once again, in short:

Our webservers set the default document root to /var/www, whereas
site-local administrators tend to use /var/www/example.com. This has
security implications if visitors access the default document root,
bypassing the /supposed/ document root of example.com. That's
problematic if sensitive data is placeѕ outside the supposed
document root (e.g. consider a hypothetical
/var/www/example-com-db.conf configuration file).

The consensus from last year's discussion was to use
/var/www/<something> as a default document root instead, giving users
a parent directory for HTTP ѕervers which is not served to the
public.

Personally I don't care about the actual directory name of
<something>, and /var/www/default would probably be the best choice
to highlight its designed use. However, to minimize the delta to
other distributions I suggest to make the default document root
/var/www/html - which is what Fedora/RHEL/CentOS is using already.

Apache will make this change for the next upload coming up. Please
follow us to have a consistent default document root across
webservers in Debian. 

[1] https://lists.debian.org/debian-devel/2012/04/msg00301.html 

--- End Message ---
--- Begin Message ---
I'm closing this because we are following Debian policy and have no reason to
change this.

http://www.debian.org/doc/debian-policy/ch-customized-programs.html
11.5.4

As far as I'm aware, Apache is the only package that has the use of /var/www/
for its own index.html page as an actual requirement.

-- 
Michael Lustfield

--- End Message ---

Reply via email to