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

Re: [pkg-lighttpd] Changing the default document root for HTTP server

On Mon, Apr 16, 2012 at 7:21 PM, Arno Töll <arno@debian.org> wrote:
> Hi,
> On 16.04.2012 18:56, Olaf van der Spek wrote:
>> On Sun, Apr 15, 2012 at 1:14 PM, Paul Wise <pabs@debian.org> wrote:
>>> /srv is solely the domain of the sysadmin, packages cannot rely on any
>>> particular layout not specified by the sysadmin (via debconf etc).
>> I know. Is that a problem though?
>> AFAIK packages don't (and shouldn't) put any files into vhost dirs.
> A document root served from /srv would include the HTTP base directory,
> e.g. /srv/www or similar with a default document root /srv/www/htdocs
> which would include a index.html file at very least. You ship that at
> Lighttpd as well.

Using /srv for vhosts does not require the default doc root to be
under /srv too.
The default doc root could stay at /var/www


Reply to: