VLF-One IIS Reverse proxy(SOLVED)

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
nic.hall
Posts: 18
Joined: Sat Jan 16, 2016 4:23 am

VLF-One IIS Reverse proxy(SOLVED)

Post by nic.hall » Tue Jul 23, 2019 12:50 am

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

MarkD
Posts: 622
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-One IIS Reverse proxy

Post by MarkD » Tue Jul 23, 2019 10:01 am

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.

MarkD
Posts: 622
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-One IIS Reverse proxy

Post by MarkD » Tue Jul 23, 2019 10:55 am

Also check that the {querystring} is getting rewritten in full as well.

nic.hall
Posts: 18
Joined: Sat Jan 16, 2016 4:23 am

Re: VLF-One IIS Reverse proxy

Post by nic.hall » Wed Jul 24, 2019 12:02 am

Fiddler trace attached for rewrite rule to VLF-On URL
Attachments
Fiddler.zip
(5.29 KiB) Downloaded 10 times

MarkD
Posts: 622
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-One IIS Reverse proxy

Post by MarkD » Wed Jul 24, 2019 10:49 am

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?

MarkD
Posts: 622
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-One IIS Reverse proxy

Post by MarkD » Wed Jul 24, 2019 2:07 pm

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

nic.hall
Posts: 18
Joined: Sat Jan 16, 2016 4:23 am

Re: VLF-One IIS Reverse proxy

Post by nic.hall » Thu Jul 25, 2019 7:11 am

Thanks for the help.

I used the technique at

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

works great.

Post Reply