On 04/15/2012 06:29 PM, Olaf van der Spek wrote:
> On Sun, Apr 15, 2012 at 2:25 AM, Arno Töll <a...@debian.org> wrote:
>   
>> Thus, to summarize once again: I'd like to change the default directory
>> served by web servers from /var/www to /var/www/html along with
>> remaining web servers in Debian.
>>
>> Comments?
>>     
> I'd use ht instead of html. Not every ht file is a html file.
>
> We should consider vhosts as well. Lighttpd defaults to
> /srv/<host>/htdocs (for mod simple vhost). ht instead of htdocs might
> be better.
>
> We could use /srv/default/ht as the default doc root.
> FHS: /srv : Data for services provided by this system. The methodology
> used to name subdirectories of /srv is unspecified as there is
> currently no consensus on how this should be done.
>   
Moving to anywhere outside of /var is a bad idea because this might
fill up space on the rootfs, while /var is traditionally (at least on
servers) a separate partition. As you wrote above, the content inside
/srv isn't specified, thus there could be collisions, while /var/www is
already used in many distros for the web server.

Thomas


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f8aad2c.9000...@debian.org

Reply via email to