-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

> > I can protect the whole zone with
> > <Location /myzone/>
> >
> > but I cannot protect a specified servlet with
> > <Location /myzone/MyServlet>
> >
> > and also I cannot protect specified files with
> > <Location /myzone/MyServlet/path/somefile.html>
> >
> > How can it be done ?
> 
> I haven't tried it myself but perhaps you could try
> and experiment with "LocationMatch". You'll find all
> relevant info at:
> 
> <http://www.apache.org/docs/mod/core.html#locationmatch>

With <LocationMatch "/myzone/MyServlet/*" > I can
protect one whole servlet, but protecting of
files with
<LocationMatch "/myzone/MyServlet/path/*" >
still doesn't work.
I think LocationMatch should work for every URL,
independently of apache module. So, is it a bug
in mod_jserv ?

I use JServ1.0 with Apache1.3.6 on WindowsNT.

Martin

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   INET, a.s.                          Mgr. Martin Kuba
Kralovopolska 139                  e-mail: [EMAIL PROTECTED]
  601 12 Brno                      WWW: http://www.inet.cz/~makub/
 Czech Republic                    tel: +420-5-41242414/33
--------------------------------------------------------------------
PGP fingerprint = D8 57 47 E5 36 D2 C1 A1  C3 48 B2 59 00 58 42 27
 http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
--------------------------------------------------------------------


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

Reply via email to