Quantcast
Viewing all articles
Browse latest Browse all 5403

Redirecting the server's bookmarked url to HTTPS sub-domain's url

Hello Experts,

 

We have XIR3.1 SP4 and Tomcat 5.5 on one standalone server.

We have created a separate domain name for our BusinessObjects server, for example, User's log on to businessobjects.company.org instead of BOservername. And we have created redirect files to direct any request coming to servername to businessobjects.company.org. Now all this is working fine without the SSL's.

 

I recently implemented SSL. And I'm able to log in to https://businessobjects.company.org even if I enter BOservername, or businessobjects.company.org in the url bar and the request is getting routed to https://businessobjects.company.org. This seems to be working fine if I (or the user) is entering the domain name or the server name in the url bar.

 

But if there are link's for BOservername or http://businessobjects.company.org that are book marked on the machine and I (or the user) selects this link, then it is taking me to the HTTP url and not the HTTPS url.

 

I followed couple of blogs and added the below code to the web.xml file in tomcat\conf folder

 

<security-constraint>

<web-resource-collection>

<web-resource-name> Protected Context </web-resource-name>

<url-pattern>/*/</url-pattern>

</web-resource-collection>

<!-- auth-constraint goes here if you requre authentication -->

<user-data-constraint>

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

</user-data-constraint>

</security-constraint> 

 

When I add the above code, then HTTPS is getting added to all the urls on the server.  And the bookmark that has http://businessobjects.company.org is switcing the url to https, but the bookmark for http://boservername/ is not getting routed to https://businessobjects.company.org.

 

Is there anyway that I can route the requests from the book marked boservername to businessobjects.company.org url?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 5403

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>