[PLUG] Apache Directory Directive

Jeme A Brelin jeme at brelin.net
Thu Apr 15 14:53:02 UTC 2004


On Thu, 15 Apr 2004 dan at fiddlers-green.info wrote:
> Quoting Bill Barry <barryb at proaxis.com>:
> > Yes, I agree, that works . But from my reading this
> >
> >    Order Allow, Deny
> >    Allow from apache.org
> >
> > also works. Am I wrong here?

No, you're not wrong.  That does also work.  However, my reading makes me
believe that
  Order Allow, Deny
  Allow from apache.org
  Deny from all

results in total denial from all.  That means that if he'd used
  Order Allow,Deny
he'd have ended up denying all as the Allow would have been overridden.

> <Directory /var/webconfig/htdocs/reports/data>
[snip]
> </Directory>
[snip]
> Both return a 403 when attempting to access a page that needs to read
> from the reports/data directory.

Perhaps there's more to this and we're missing the crucial bit.

Also, if you can tell us exactly what version of Apache you're using and
whether this is a global config or part of an .htaccess.

I'm also assuming that /var/webconfig/htdocs/ is set as the servers
DocumentRoot.  If that's not the case, we need to know exactly how the
directory is being referenced in the http document space.

J.
-- 
   -----------------
     Jeme A Brelin
    jeme at brelin.net
   -----------------
 [cc] counter-copyright
 http://www.openlaw.org




More information about the PLUG mailing list