[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#542950: apache2-suexec: Please change default docroot to /srv/www

Hi Tollef,

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.

Interesting, I had assumed basic directory structure was agreed, but
re-reading FHS, I now understand these are examples only.

> | 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.

I am open to all suggestions, but haven't been able to find a better
place than either /var/www or /srv/www 
Has any discussion taken place of where should be stored webserver files
on Debian?
It is easy to move any standard package to
eg. /usr/share/<package_name>, but what for packages depending on

Using apache2-suexec-custom might help a bit, but what if several
packages need different docroots? I guess something needs to be


Reply to: