I never had to deal with the security stuff more than making sure it was working. Maybe someone else in the list will know how to turn it back on...server.xml??

Jeff

From: Amr Elssamadisy <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: WebdavResource - creating an empty file (another newbie question)
Date: Mon, 26 Apr 2004 21:58:02 -0400


I take that back...

I have been playing around with the security constraints and seem to have turned something off....

Thanks!

J H wrote:

Did you make sure that "test","test" are working by going to http://localhost:8080 in your web browser?


From: Amr Elssamadisy <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: slide mailing list <[EMAIL PROTECTED]>
Subject: WebdavResource - creating an empty file (another newbie question)
Date: Mon, 26 Apr 2004 18:22:43 -0400


Hello everyone,

I've been banging my head against this all day and I can't seem to figure out what is wrong. I hope it is obvious to someone with a bit more experience with Webdav....
(this is an error with both the "stable" 1.016 and the new release candidate build)


Basically - what I get back is an error 403 : Forbidden.

Any ideas/directions would be useful.

/**
* Expecting user name of test/test to allow a correct login and give
* write permissions
* @throws Exception
*/
public void testWebdavWrite() throws Exception{
HttpURL homeUrl = new HttpURL("http://localhost:8080/";);
homeUrl.setUserInfo("test","test");
WebdavResource res = new WebdavResource(new HttpURL(homeUrl,"testFile"));
assertFalse(res.exists());
boolean success = res.putMethod("");
assertTrue(res.getStatusMessage(),success);//write an empty file }


--
Amr Elssamadisy

Developer,Researcher,Student
(In no particular order...)

tel: (413) 207-1225
email: [EMAIL PROTECTED]



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


_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee� Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
Amr Elssamadisy

Developer,Researcher,Student
(In no particular order...)

tel: (413) 207-1225
email: [EMAIL PROTECTED]



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


_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page � FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/



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



Reply via email to