Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Vanity URLs and load balancer

CThiryAug 30 2016 — edited Sep 2 2016

Hello,

I noticed today that my vanity URLs do not work as I expected. I'm working with webcenter sites 12c patch1. They've worked once, but I've made many things since then (patch 1 on 12c, rewrited my code to use groovy controllers instead of tags, ...).

Here is what I'd like to achieve :

- Generate and use URLs starting by http://localhost:7003/sites/bdl on my development environment

- Generate and use URLs starting by https://demotest on my test environment

- Generate and use URLs starting by https://www.xyz.com on my production environment

So I defined a webroot called bdl on the servers and configured the sites.environment variable to be the same as the considered webroot.

The load balancer before my servers add /sites/bdl on each request and the forward to  webcenter sites the request. On my development environment I don't have a load balancer so I need to use http://localhost:7003/sites/bdl

URLs are generated as expected on my development environment. They also work

But on my test and production environment the url is well generated but the page is not displayed. If I change to https://www.xyz.com/sites/bdl the webroot then it works but it is not the URL that I want to have.

What do I miss ?

This post has been answered by CThiry on Sep 2 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2016
Added on Aug 30 2016
2 comments
654 views