[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Where do you put all your HTML stuff on a home Linux server?
- From: Marko Vojinovic <vvmarko panet co yu>
- To: For users of Fedora <fedora-list redhat com>
- Subject: Re: Where do you put all your HTML stuff on a home Linux server?
- Date: Sun, 20 Jan 2008 14:12:30 +0000
On Sunday 20 January 2008 11:14, 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
Also, don't forget
semanage fcontext -a -t httpd_sys_content_t "/srv/www.hostname.tld/www(/.*)?"
restorecon -R -v /srv/www.hostname.tld/www
if running SELinux. ;-)
:-)
Marko
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]