Re: .htaccess file outside of web space

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

 



On Wed, Apr 04, 2012 at 11:26:29PM -0400, Phil Smith wrote:
> Am I interpreting what I'm seeing correctly or could I possibly have a
> configuration problem? 

You are interpreting it correctly, there's no configuration problem.
This is the way that access files are applied as in the documentation.
See http://httpd.apache.org/docs/2.4/howto/htaccess.html#how for
example.

> I don't want and I don't expect anything at the
> /home/joe level to be web space so I was surprised that Apache would
> recognize any file at the /home/joe level for any purpose.

If you want to isolate apache entirely to a subtree of your filesystem,
consider running it chrooted.
http://httpd.apache.org/docs/2.4/mod/mod_unixd.html#chrootdir

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Attachment: pgpCEM3QWHriO.pgp
Description: PGP signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux