Hi Folks,
We planning to migrate on https, so we already done these step:
- install sertificate;
- add changes into server.xml:
<Connector port="8090" connectionTimeout="20000" redirectPort="9443"
...
<Connector port="9443" maxHttpHeaderSize="8192"
...
- add changes into web.xml:
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
- add changes into urlewrite.xml:
<rule>
<condition name="host" operator="notequal">^confluence.mydomain.com</condition>
<condition name="host" operator="notequal">^localhost</condition>
<from>^/(.*)</from>
<to type="permanent-redirect" last="true">https://confluence.mydomain.com:9443/$1</to>
</rule>
When we test redirection links we found nexts:
redirect works fine: http://sitename:8090/display/AFRS/AD+15.99+reservation+before+purchasing+membership
redirect works bad (page not found, but page available by direct link with new site name with https):
http://sitename:8090/pages/viewpage.action?pageId=1540581
Please help what we missed?
Environment: confluence 6.5.2 server.
Any help much appreciated.