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

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


On 15.04.2012 12:29, Olaf van der Spek wrote:
> I'd use ht instead of html. Not every ht file is a html file.

I have no strong opinion on the actual name, as long as it is another
subdirectory. We could equally use /var/www/default, /var/www/htdocs or
whatever we feel like.

I only proposed /var/www/html to minimize diversity among distributions
as that's what Red Hat/Fedora uses. As a quick survey, this is what
other operating systems and distributions use as default document root:

Upstream: /usr/local/apache2/htdocs
Red Hat / CentOS: /var/www/html
Mandriva:   /var/www/html
NetBSD:  /usr/pkg/share/httpd/htdocs
FreeBSD: /usr/local/www/apache22/data
OpenBSD: /var/apache2/htdocs/
Solaris: /var/apache2/htdocs
Slackware:  /svr/httpd/htdocs
Gentoo: /var/www/localhost/htdocs

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: