[PLUG] Apache Directory Directive

dan at fiddlers-green.info dan at fiddlers-green.info
Thu Apr 15 14:33:01 UTC 2004


Quoting Bill Barry <barryb at proaxis.com>:

> On Thu, Apr 15, 2004 at 11:18:32AM -0700, dan at fiddlers-green.info wrote:
> > 
> > I've tried it both ways:
> > <Directory /var/webconfig/htdocs/reports/data>
> >     Options Indexes FollowSymLinks
> >     Order Allow,Deny
> > #    deny from all
> >     Allow From 192.168.2
> > </Directory>
> > 
> > and,
> > 
> > <Directory /var/webconfig/htdocs/reports/data>
> >     Options Indexes FollowSymLinks
> >     Order Deny,Allow
> >     deny from all
> >     Allow From 192.168.2
> > </Directory>
> > 
> > Both return a 403 when attempting to access a page that needs to read from
> the
> > reports/data directory. The only time it works is if I use Deny,Allow and
> > comment out the "Deny from All", which just means access is open to
> everyone
> > now. Since its the system stats and intrusion data reports on the gateway
> > server, that is probably bad security form.
> > 
> 
> Well, since it works if you allow everyone access, then the file
> permissions must be right, everything must be right. There are no
> hidden .htaccess files.  Have you taken a look at the log
> files. Perhaps you are coming in on a different subnet than
> you think? Are you trying to access it locally and you need to
> add 127.0.0.1 to the Allow From line?
> 
> Bill Barry
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 
That was it Bill. The 127.0.0 entry needed to be there.

thanks everyone. 



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the PLUG mailing list