Sorry, I guessed you wrong.
I thought that you might not be with the WebDAV server correctly.
And host parameter is no problem with "http://"; or not.  :(

However, it shouldn't be there... :(
Did you run with common http in Slide cvs repository?

Sung-Gu


----- Original Message ----- 
From: "Elodie Tasia" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 4:39 PM
Subject: Re: problem with Host header


> I don't understand what you mean...
> The problem is that there is a "http://"; before my "localhost" that
> should'nt be here, no ?
> 
> 
> ----- Original Message -----
> From: "Sung-Gu" <[EMAIL PROTECTED]>
> To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, March 14, 2002 5:06 AM
> Subject: Re: problem with Host header
> 
> 
> >
> > Did you set the web root as WebDAV support manually, didn't you?
> > I think you'd better consider the security in the server side.
> > You're making the collection on the web root.
> >
> > Sung-Gu
> >
> > ----- Original Message -----
> > From: "Elodie Tasia" <[EMAIL PROTECTED]>
> > To: "Slide Group" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 13, 2002 5:12 PM
> > Subject: problem with Host header
> >
> >
> > Hi !
> >
> > I'm using a code example that was given on this list :
> >
> >         HttpClient client=new HttpClient();
> >         client.startSession("localhost",80, new
> Credentials("root","root"));
> >         client.setDebug(10);
> >         MkcolMethod mc=new MkcolMethod();
> >         mc.setPath("/newpath");
> >         client.executeMethod(mc);
> >         client.endSession();
> >
> > The method generated with it is :
> >
> > MKCOL /newpath HTTP/1.1
> > Content-Length: 0
> > Host: http://localhost
> > User-Agent: Jakarta HTTP Client/1.0
> >
> > But I receive the error message :
> >
> > HTTP/1.1 400 Bad Request
> > Date: Wed, 13 Mar 2002 08:09:14 GMT
> > Server: Apache/1.3.20 (Win32) DAV/1.0.3-dev
> > Connection: close
> > Transfer-Encoding: chunked
> > Content-Type: text/html; charset=iso-8859-1
> >
> > And I've just found why ! Because the host should be localhost, and not
> http://localhost.
> > But the way how the host header is generated depends not on me.. What can
> I do ?
> >
> >
> >
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


Reply via email to