Where do you put all your HTML stuff on a home Linux server?

Marko Vojinovic vvmarko at panet.co.yu
Sun Jan 20 14:13:29 UTC 2008


On Sunday 20 January 2008 12:28, Chris G wrote:
> On Sun, Jan 20, 2008 at 03:14:17AM -0800, Michael A. Peters wrote:
> > Chris G wrote:
> >> I've been changing my mind and messing about with this for years and
> >> *still* haven't really come to a sensible final conclusion.  It's not
> >> even that it matters all that much but I wish there was an obvious
> >> answer.
> >
> > I use /srv
> > as root:
> > mkdir -p /srv/www.hostname.tld/www
> > chown -R user:group /srv/www.hostname
> >
> > You then create a file in /etc/httpd.conf/ that points to
> > /srv/www.hostname.tld/www as the DocumentRoot
> >
> > Works for me.
>
> /srv is the 'right' place, unfortunately many (all?) linux
> distributions don't use it.

SuSE uses it. I hope Fedora will too.

:-)
Marko




More information about the users mailing list