httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <...@openstrike.co.uk>
Subject Re: [users@httpd] .htaccess file outside of web space
Date Thu, 05 Apr 2012 08:32:40 GMT
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

Mime
View raw message