Vanity URLs on the IBM i
Posted: Sat Jan 07, 2017 9:44 am
Now that our mobile web app is nearing production status, we are looking at ways of getting to the app easier.
One of those ways is a "vanity" url so that the user goes to ourserver.com/ourapp or ourserver.com/ourapp.html instead of ourserver.com:4580/dcxpgmlib/sys/mobwebapp.html.
I've been doing some research on using vanity urls with apache and my head is spinning in confusion.
I understand that this means we have to have a HTTP Server responding to port 80 in addition to the LANSA Web Server responding on 4580 (which we do). But what I am not understanding is how to get port 80 server to silently (i.e. not change the browser URL) forward the request to the LANSA Web Server.
Has anyone done anything like this? How did you do it?
Thanks,
Joe
One of those ways is a "vanity" url so that the user goes to ourserver.com/ourapp or ourserver.com/ourapp.html instead of ourserver.com:4580/dcxpgmlib/sys/mobwebapp.html.
I've been doing some research on using vanity urls with apache and my head is spinning in confusion.
I understand that this means we have to have a HTTP Server responding to port 80 in addition to the LANSA Web Server responding on 4580 (which we do). But what I am not understanding is how to get port 80 server to silently (i.e. not change the browser URL) forward the request to the LANSA Web Server.
Has anyone done anything like this? How did you do it?
Thanks,
Joe