Re: Apache not liking directories outside of /var/www

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



--On Friday, July 31, 2009 1:24 PM -0400 Filipe Brandenburger 
<filbranden@xxxxxxxxx> wrote:

> In general I would advise you to try to adapt your application so that
> the files that need to be seen by Apache are under /var/www, if you
> have that flexibility it will be simpler and have less chance of
> breaking in the future.

IIRC, there's a policy and boolean to allow users to have web content in 
~/public_html.

If one has stuff in other locations (say, /usr/share/someapp/webcontent or 
/opt/someapp/webcontent), one could use a loopback mount to attach it to a 
subdirectory of /var/www.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux