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

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



--On Saturday, August 01, 2009 10:30 AM -0700 Mark Hedges 
<hedges@xxxxxxxxxxxxxxxxx> wrote:

> I.e. Apache process is accessing an sqlite file that is
> outside the docroot.  This is how it should be.

Don't use /var/www as your docroot. Use a subdirectory. Then you can put 
other files under /var/www that are not under the docroot.

Aside: Avoid editing httpd.conf if you can help it. A lot of customization 
can be accomplished by dropping a custom .conf file in /etc/httpd/conf.d. 
This makes upgrades a lot easier, in case the stock httpd.conf changes.


_______________________________________________
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