bad urls behind load balancer

Stimulsoft Reports.WEB discussion
Post Reply
dkalvar
Posts: 3
Joined: Thu Sep 17, 2009 10:51 am

bad urls behind load balancer

Post by dkalvar »

Our app runs behind a BigIP f5 load balancer that also handles ssl for our site.

So, when a request is made to
https://fakeurl.com/fakepage.aspx

the F5 takes the request, repackages it and sends it to one of the webservers as
http://fakeurl.com:8443/fakepage.aspx.

Under this setup the web report designer is generating links and post backs that look like this

http://fakeurl.com:8443/fakepage.aspx?s ... _OETags.js

instead of

https://fakeurl.com/fakepage.aspx?stimu ... _OETags.js

The problem is the F5 will not let this request through so the desinger will not work.

We have about 4 weeks until our go live date. Is there anything that currently exists or could be added, allowing us to tell the report desinger to use relative urls or set the base url it should use?


dkalvar
Posts: 3
Joined: Thu Sep 17, 2009 10:51 am

bad urls behind load balancer

Post by dkalvar »

Since we had a copy of the code we changed the line in the web desinger dll that reads

string originalString = this.Page.Request.Url.OriginalString;

to

string originalString = this.Page.Request.Url.PathAndQuery;

Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

bad urls behind load balancer

Post by Andrew »

Hello,

Please set the StiWebDesignerOptions.UseCompleteUrl = false. It will be available in the prerelease build from 21-Sept-2009.

Thank you.
Post Reply