----- Original Message -----
From: "Elodie Tasia" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 7:44 PM
Subject: Re: problem with Apache & propfind
> I've just tried with the configuration you gave me and it doesn't work at
> all...
>
> For my code, I got problem as soon as I call the constructeur :
>
> hUrl = new HttpURL(host, port, path);
> davRes = new WebdavResource(hUrl, defaultAction, defaultDepth);
You should get HttpException and its message is about authentication.
As I remember it... And in HttpException you can set user info.
I don't know why u don't get it right now. :(
> davRes.setUserInfo(user, passwd);
Or you can set user info before hUrl.setUserInfo.
However, it's non-sense... because you might don't know whether you get the response
status, 401 or not
> With host = "localhost", port=80, and path is the right path of a resource
> on the server.
> And the program does go to setUserInfo : it gets an error just before...
> As for the configuration of the server, I didn't change much things except
> that I gave you (and that configuration was given to me, I didn't write it
> myself, so I supposed it was ok)...
>
> What I don't undestand too is why the propfind method is launched within the
> constructor method (you can see it in my message error).
> When I try that code :
>
> HttpClient client = new HttpClient();
> client.setDebug(10);
> client.startSession("localhost", 80, new Credentials(user, passwd));
> it works very well..
> And I can call after that methods like PROPFIND or PROPPATCH without any
> problem...
>
> That makes a lot of incoherence, don't you think ?
Yes, I guess some part might be changed... :(
What kinda slide version did u try to it?
Sung-Gu