 Rank: Guest Joined: 4/21/2017(UTC) Posts: 2  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.comI need to be able to redirect both the following pages to HTTPS://mymain.urlcompany.commyurlcompany.com --> https://mymain.urlcompany.com which is working today HTTP://mymainbasic.urlcompany.com --> HTTPS://mymain.urlcompany.comThe 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.
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,862  Thanks: 3 times Was thanked: 351 time(s) in 303 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 |
|
|
|
 Rank: Guest Joined: 4/21/2017(UTC) Posts: 2  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/" />
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,862  Thanks: 3 times Was thanked: 351 time(s) in 303 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 |
|
|
|
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.