> Hi Remy and thanks for your help,
> To answer your questions :
>
>
> Remy Maucherat wrote:
>
> > > 1)
> > > WARNING - Access denied on /users by user /users/guest for action
> > /actions/read
> > > 20 Mar 2001 17:08:21 - WARNING - Access denied on /actions by user
> > /users/guest for action
> > > /actions/read
> > >
> > > The propfind request returns a 500 status error, an exception is
thrown
> > while putting
> > > documents :
> > > org.apache.webdav.lib.WebdavException: Unable to process request
> >
> > PROPFIND shouldn't return a 500. It's a request on which URI ?
> >
>
> PROPFIND returns a 500 error on /slide/users (it's a mistake)
> but return 301 on /slide (move Permanently)
That looks like a serious problem.
It may be a bug in the client that could cause an incorrect request to be
generated, and then which makes the request parsing go wrong. In the command
line client, we only use a subset of all possible requests.
Juergen is working on a test suite (but of course, this takes time to pull
together).
> > > 4) I noticed a difference between this two tries :
> > > In the second case, the server doesn't log anything in the debug
> > interface. Why ??
> >
> > What do you mean by not log anything ? It should still log the HTTP
requests
> > it executes.
> >
>
> I mean that the window in which the server has been started does not log
> anything . Is there a debug log file elsewhere ?
>
> > > - Now I try to do the same with the client API :
> > > WebdavClient client = new WebdavClient();
> > > client.startSession("localhost", 8080);
> > > client.setCredentials("john","john");
> > > and then : getMethod, putMethod , propfind as describe in examples ...
> > >
> > > Why it doesn't work ?
> >
> > John should be able to do a PUT in the /files collection. What kind of
> > PROPFIND fails ?
> >
>
> In fact the server said :
>
> Request: PUT /files/myFile.txt HTTP/1.1
> Response: HTTP/1.1 405 Method Not Allowed
> PUT to /files/myFile.txt : 405 Method Not Allowed
>
> This is why I feel I have a configuration problem !
I don't think I ever return 405 anywhere. You mentioned mod_jk, I think, so
it may come from there.
The mod_jk in TC 3.2 doesn't support WebDAV at all. The one in TC 3.3 does.
> > Remy
>
> I've got an other question.
> Can I authenticate all users of my organization without adding them in the
> tomcat-users.xml and the Domain.xml files?
Right now, there is a realm for Catalina (which is quite hard to use).
Something similar could be developed for Tomcat 3.x.
That's the first step : only add users once.
After that, except giving users shared accounts, I don't see any good
solutions. Ideas anyone ?)
Remy (struggling to get through his inbox)