What i am trying to redo right now is this:
Externally we have a DNS-record like community.company.com, this hits a apache web server that proxies it inside with a rewrite, like:
RewriteRule (.*) https://community.company.com/dana/home/launch.cgi?url=http://inside.company.com/$1
As we do not want passthrough-proxy to punch a hole into this page.
What we instead want is to have:
https://inside.company.com externally pointing to the SA, and have it somehow passthrough to the internal web server, keeping the dana/home/launch.cgi?url= rewrite. And also the authorization from within the SA to keep it safe.
Is this somehow possible? I think i remember there should be some sort of option for this a whole lot of releases ago, but it was not really finished then.
Hopefully someone could help me complete this task!
Solved! Go to Solution.
I think you should be able to achieve what you want with a few steps:
You should hopefully find that any external users who browse to inside.company.com are presented with a PCS login page. After logging in, they should be taken directly to your inside.company.com web server through the web re-writer.
This works nicely!
I thou have a follow-up question if you have anything smart to say about that:
From external, i want to directly go to a subsite on inside.company.com eg inside.company.com/site/default.php
Is there a way to rewrite this or am i locked down to just get to inside.company.com and from there click my way through to the subsite?
Neverthelss, excellent help from you!
I'm glad to know that my suggeston works :-)
I haven't tried this yet, but I think you can go to a subsite just by putting the full subsite URL into the Custom Start Page URL on the Role UI Options page.
Yes this works as well.
Problem is that we have customers that have different subsites on inside.company.com
eg like inside.company.com/subsite1/default
and so on.
It may be that this is a unsolvable solution and not something the PCS should handle.
Could you set up a different role for each customer with the appropriate different subsite set as the custom start page URL for each of the roles?
You would then set the role mapping rule so that customers are mapped into the correct role based on username, AD group, or whatever other criteria makes most sense.