RE: Re: Re: HTTP - HTTPS redirect

2014-11-21 Thread Primož Kokol
FYI - I've posted the same question on SO: http://stackoverflow.com/questions/26975059/restlet-http-to-https-non-default-port-redirect but until now I haven't received any answer. --

RE: Re: Re: HTTP - HTTPS redirect

2014-11-17 Thread Primož Kokol
Hi Hshorter, Did you (or anyone else) maybe found a solution for this? I am also trying to find a way to achieve exactly the same behaviour. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3091418

RE: Reverse proxy crash issue

2014-06-12 Thread Primož Kokol
Hi everyone, Was anybody able to reproduce this or is anybody experiencing the same issue? Any advices on how to tackle this are still more then welcome. Thank you in advance. --

Reverse proxy crash issue

2014-06-06 Thread Primož Kokol
Hi guys, I am experiencing some issues with regards to Redirector and external Apache HTTP Client connector. The issue is that Reverse proxy implemented using Redirector will die after some time. I was trying to find a reason for this odd behaviour but with no luck. I am able to reproduce the

RE: Re: Transparent reverse proxying using org.restlet.routing.Redirector

2014-06-06 Thread Primož Kokol
Hi Ramesh, Please take a look at the example I've attached. After running it (mvn clean install exec:java) server will be started on port 8080 and reverse proxy on port . You will be able to access the server on 8080 but you will have to provide credentials (test/test) when accessing

RE: Re: Re: Transparent reverse proxying using org.restlet.routing.Redirector

2014-04-18 Thread Primož Kokol
Hi again, My next try was to remove all original headers (like default implementation do) and then preserver only Authentication header. So I replaced this line: https://github.com/restlet/restlet-framework-java/blob/2.2/modules/org.restlet/src/org/restlet/routing/Redirector.java#L407 with

RE: Re: Transparent reverse proxying using org.restlet.routing.Redirector

2014-04-17 Thread Primož Kokol
Tim, thanks for advice. That is actually one of the first things I've tried. After extending Redirector and overriding serverRedirect method so that line which clears the headers was removed 1002 Internal Connector Error was always returned as response (from proxy) so I thought this was not

Transparent reverse proxying using org.restlet.routing.Redirector

2014-04-16 Thread Primož Kokol
I am trying to create a transparent reverse proxy using org.restlet.routing.Redirector. For the sake of simplicity let's say all I want to do is to redirect all requests pointing at http://localhost:80 to be dispatched to another unrelated server: http://localhost:8080 I've wrote a simple