users@glassfish.java.net

Re: Http Load Balancer question

From: Kshitiz Saxena <Kshitiz.Saxena_at_Sun.COM>
Date: Thu, 11 Feb 2010 23:23:41 +0530

Hi,

The load-balancer plugin installed on IIS will take care of encoding and
passing required parameters to application server. You need to enable
enable auth-passthrough using property authPassthroughEnabled on
application server.

rewrite-location is only used for redirection.

Thanks,
Kshitiz

On Thursday 11 February 2010 11:08 PM, Xin Guo wrote:
> Hi,
>
> We are using Sun App Server 9.1 (Glassfish 2.1.1), which is fronted by
> Windows IIS server with HTTP Load Balancer plug-in provided by app
> server 9.1. We want to terminate HTTPS on the IIS/http-load-balancer,
> and use only http on Sun App Server 9.1.
>
> The problem is, the app server then has no idea about the protocol of
> the original request, and will tell the web applications running
> inside to use http://hostname:80 to form absolute URL.
>
> Is there any way to overcome this issue? We have the following
> properties defined in the IIS loadbalancer.xml:
> <property name="rewrite-location" value="true"/>
> <property name="https-routing" value="false"/>
>
> I read that authPassthroughEnabled property might be helpful, but then
> its default implementation requires the IIS to pass back certain
> custom http headers. We don't have control on IIS, so that's unlikely
> to happen.
>
> Please let me know if you have solved similar problems in the past.
>
> Thanks,
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>