You have to edit web.xml file and remove the security constraints.
Remove GET,HEAD,OPTIONS,PROPFIND

Change to something like:
    <web-resource-collection>
      <web-resource-name>DAV resource</web-resource-name>
      <url-pattern>/*</url-pattern>
      <http-method>COPY</http-method>
      <http-method>DELETE</http-method>
      <http-method>LOCK</http-method>
      <http-method>MKCOL</http-method>
      <http-method>MOVE</http-method>
      <http-method>POST</http-method>
      <http-method>PROPPATCH</http-method>
      <http-method>PUT</http-method>
      <http-method>UNLOCK</http-method>
    </web-resource-collection>

For read/write access install then a second servlet with the normal
security constraints
otherwise clients might get confused.


Dirk

Dmitry Beransky wrote:
> 
> Hi,
> 
> I remember reading about this somewhere, but as it always happens, now that
> I need the info, I can't find it.
> 
> How do I set up a directory (/files/public) with a universal read
> access?  I've tried adding a read permission to nobody to the node, but
> still get asked for a password trying to access it.  Do I need to change
> anything in tomcat's configuration.  (this all is still black magic to me).
> 
> Thanks
> Dmitry
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to