Bug#542950: apache2-suexec: Please change default docroot to /srv/www
Le samedi 22 août 2009 à 15:08 +0200, Tollef Fog Heen a écrit :
> ]] Julien Valroff
>
> | /var/www not being defined in FHS and being under the control of the local administrator [0],
> | default docroot for Apache SuExec should be changed to /srv/www [1]
>
> No, it should not. You can not assume _anything_ about the structure
> underneath /srv.
>
> | Debian packages are not supposed to install any files in /var/www [2], but packages making use
> | of Apache SuExec have no other choice for now to make things work out of the box.
> |
> | Currently, dspam-webfrontend is the only package in the archive depending on apache2-suexec, and
> | work is in progress to update the dspam packages, with one of the goal being to move files away from
> | /var/www
>
> Moving to /srv/www will grant you an RC bug for a FHS violation, so
> while we might want to reconsider what the default docroot should be for
> a2-suexec, it's surely not going to be /srv/www.
Debian Policy still asks to web applications to install their files
under /var/www if unavoidable [0]
Hence, I guess it is correct for apache2-suexec to set up its default
docroot to /var/www
Feel free to close this bug if you think that it is correct.
cheers,
Julien
[0] http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-web-appl
Reply to: