Page 1 of 1

VLF-One IIS Reverse proxy(SOLVED)

Posted: Tue Jul 23, 2019 12:50 am
by nic.hall
I am trying to set up an IIS server as a reverse proxy to VLF_one.

I can add and run a rewrite rule from localhost to localhost:8080 to serve the default LANSA pages and also add rewrite rules to other servers.

When I add a rewrite rule to any VLF_One URL I get a blank page. No error but no VLF-One.

VLF-One URL = //localhost:8080/LANSAG14/DEM/uf_oexec.html?Lang=ENG&FrameworkID=VF_VLFONE_SYSTEM&Material=Y&Desktop=Y

Any suggestion?

Thanks, Nic

Re: VLF-One IIS Reverse proxy

Posted: Tue Jul 23, 2019 10:01 am
by MarkD
Clear your browser cache.
Record a Fiddler trace of a start up to the blank page.
Check the trace to see what is happening under the covers.
If the problem is not found post the trace to the forum.

Re: VLF-One IIS Reverse proxy

Posted: Tue Jul 23, 2019 10:55 am
by MarkD
Also check that the {querystring} is getting rewritten in full as well.

Re: VLF-One IIS Reverse proxy

Posted: Wed Jul 24, 2019 12:02 am
by nic.hall
Fiddler trace attached for rewrite rule to VLF-On URL

Re: VLF-One IIS Reverse proxy

Posted: Wed Jul 24, 2019 10:49 am
by MarkD
The Fiddler trace looks pretty odd to me.

Could you describe in more detail what you are trying to do?

Could you also screen shot (or send the underlying IIS XML definition file) of the rewrite rule you have set up in IIS?

Re: VLF-One IIS Reverse proxy

Posted: Wed Jul 24, 2019 2:07 pm
by MarkD
These may be relevant here?

https://docs.lansa.com/14/en/lansa048/i ... 8_2915.htm (option 2)

If the redirect file was named index.html I think it would become the default.

And also - viewtopic.php?f=3&t=1646&p=3821

Re: VLF-One IIS Reverse proxy

Posted: Thu Jul 25, 2019 7:11 am
by nic.hall
Thanks for the help.

I used the technique at

https://docs.lansa.com/14/en/lansa048/i ... 8_2915.htm (option 2)

works great.