Hi again,

I have some news regarding this issue.

> But this is all I get on each restlet request in cas.log:
> 
>       2009-04-28 09:02:26,431 DEBUG
>       [com.noelios.restlet.ext.spring.RestletFrameworkServlet] 
>       - Successfully completed request
> 
> Looks good so far, but despite of that "Successfully ..." my client is 
> getting only a 404 HTTP code as response.  Same for my Java client WITH
> POST as for doing a GET request with a browser.

As I mentioned, I tested this through an Apache Proxy (our default setup)
and directly. When directly, I had to use
http://HOSTNAME:PORT/cas/v1/tickets and :PORT is added to the HTTP Host:
header:

        Host: HOSTNAME:PORT

instead of

        Host: HOSTNAME

If I do the same protocoly using telnet, just cut ":PORT" from the Host:
header - it works!

Same for Apache Proxy, as in that case :PORT is also added by Apache,
thus again it does not work.

Now I have to find a way that Apache does not add the Port to the HTTP
Host: header anymore.  Or make the CAS restlet ignore the port.

BTW: If I do it manuall with telnet, I can use any host, even one wich
does not make any sense.  It works fine until a port is added, then its
broken as described.

        Michael



-- 
Michael Hönnig|Gerichtstr. 39|D-22765 Hamburg|http://michael.hoennig.de
sip:[email protected] | fon:040-22815360-0 | fax:040-22815360-9
Business Networking: http://www.xing.com/profile/Michael_Hoennig
GPG KeyID EC5C271A --- 9DC0 53EC 1549 DA84 A939  15CC C0B7 8FBF EC5C 271A

Attachment: signature.asc
Description: PGP signature

Reply via email to