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

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


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.

However, as per FHS no assumptions on such a layout can or should be made.

with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: