logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
LofflerHD  
#1 Posted : Friday, April 21, 2017 3:44:58 PM(UTC)
LofflerHD


Rank: Guest

Joined: 4/21/2017(UTC)
Posts: 2
United States
Location: Minneapolis, MN

Here is what we are trying to accomplish - Sorry if this is all over the place, but I am trying to cover my bases as far as webconfig settings.

Here is our setup in the web config file:
<add key="RedirectFromBaseUrl" value="http://myurlcompany.com/" />
<add key="RedirectToBaseUrl" value="https://mymain.urlcompany.com/" />

It is only going to redirect one page to the HTTPS://mymain.urlcompany.com and not HTTP://mymainbasic.urlcompany.com

I need to be able to redirect both the following pages to HTTPS://mymain.urlcompany.com

myurlcompany.com --> https://mymain.urlcompany.com which is working today
HTTP://mymainbasic.urlcompany.com --> HTTPS://mymain.urlcompany.com

The modified web settings on our ScreenConnect server does not appear to be working correctly or as stated in the settings of the configuration with the forums.

Here is the other information regarding the re-directs:

<add key="WebServerListenUri" value="https://+:443/" />

<add key="WebServerAlternateListenUri" value="http://xxx.xxx.xxx.xx1:80/" />

<add key="RelayListenUri" value="relay://xxx.xxx.xxx.xx2:80/" />

<add key="RelayAddressableUri" value="relay://mymainbasic.urlcompany.com:80/" />



As you can see we have IP 1 and IP 2; one URL we want both IP's/URL's to be directed to and use HTTPS.

so IP 1 --> redirects to the mymain.urlcompany.com via HTTPS just fine.

IP 2 --> does not redirect at all; if you try to hit http://mymainbasic.urlcompany.com I get an error page and no re-direct to the HTTPS://mymain.urlcompany.com site as IP1 does.



Scott  
#2 Posted : Tuesday, May 2, 2017 1:36:29 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,441
United States

Thanks: 3 times
Was thanked: 300 time(s) in 258 post(s)
In theory you can use wildcards within the RedirectFromBaseUrl web.config setting, so you could try using:
Code:

<add key="RedirectFromBaseUrl" value="http://*.com/" />


Or something similar, but more restrictive to your two URLs.
ScreenConnect Team
LofflerHD  
#3 Posted : Wednesday, May 3, 2017 3:04:11 PM(UTC)
LofflerHD


Rank: Guest

Joined: 4/21/2017(UTC)
Posts: 2
United States
Location: Minneapolis, MN

@Scott -

Would it be possible to do something like this?

<add key="RedirectFromBaseUrl" value="http://myurlcompany.com/", "http://alternatecompany.com/" />


Or

<add key="RedirectFromBaseUrl" value="http://myurlcompany.com/" />
<add key="RedirectFromBaseUrl" value="http://alternatecompany.com/" />

Scott  
#4 Posted : Monday, May 22, 2017 12:32:39 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,441
United States

Thanks: 3 times
Was thanked: 300 time(s) in 258 post(s)
To my knowledge no it is not possible, although I can't say that I've tried it.

In theory, however, the module defined here could be modified to support multiple RedirectFromBaseUrl's, but I'm not sure how best to go about it.
ScreenConnect Team
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.