-
1. Re: Redirection of http (80) on https (443) problem
pankajkapley Jan 20, 2012 2:38 AM (in response to pankajkapley)Dear All,
After long research i could find the solution for above problem. It has to do with port bindings on
%JBOSS_HOME%\server\default\conf\bootstrap\bindings.xml
Find <!-- XSL Transform to apply to server.xml --> where you will find portHttps.
<xsl:when test="(name() = 'port' and . = '443')">
<xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute>
</xsl:when>$portHttps is maniuplated as $port+363, i dont why it is not coming proper but if I hardcode it with 443 it is working fine.
Thanks All.
-
3. Re: Redirection of http (80) on https (443) problem
gurushant Nov 4, 2014 2:28 AM (in response to jaikiran)My question is, how do I redirect only those http requests to https, which came from port 80 or 8080. If user have set http port other than 80 or 8080, then it should not redirect to https.