> > >You can use <LOCATION> directives in the httpd.conf file to protect
access to
> > >servlets based on their URI, instead of their actual directory.
> >
> > Any ideas why this didn't work for me? I've tried something as simple
as:
> >
> > <VirtualHost 192.168.1.1>
> > ...
> >   <Location /servlets/Simple>
> >     order deny,allow
> >     deny from all
> >   </Location>
> > ...
> > </VirtualHost>
> >
> > but it still lets me access /servlets/Simple.
> >

Here is an example of a working zone named kit:

<Location /servlets/kit>
Options None
AllowOverride AuthConfig
AuthUserFile /usr/local/apache/security/kit/users
AuthGroupFile /usr/local/apache/security/kit/groups
AuthName "Digital Workflow Toolkit"
AuthType Basic
require valid-user
</Location>






-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to