You can always Alias or ScriptAlias outside the DocumentRoot. Igor's
advice is correct.

Pete

On Fri, Sep 30, 2011 at 09:14:00AM -0400, Brandon Phelps wrote:
> I guess I am just a little confused as to why there is a <Directory /> at 
> all?  If my DocumentRoot is set to /var/www then wouldn't that prevent anyone 
> from accessing anything above /var/www in the directory structure anyway, 
> thus making the <Directory /> kind of pointless?
> 
> On 09/29/2011 06:44 PM, Igor Cicimov wrote:
> >Your root directory / should always be Deny from all. Then you allow access 
> >to other directories per need.

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

Attachment: pgpbhxAV6PvXI.pgp
Description: PGP signature

Reply via email to