{"id":1068,"date":"2008-07-13T21:24:11","date_gmt":"2008-07-14T04:24:11","guid":{"rendered":"https:\/\/blogs.plm.automation.siemens.com\/t5\/Polarion-Blog\/Automatic-redirect-for-SSL-configuration\/ba-p\/380605"},"modified":"2026-03-26T05:34:08","modified_gmt":"2026-03-26T09:34:08","slug":"automatic-redirect-for-ssl-configuration","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/polarion\/automatic-redirect-for-ssl-configuration\/","title":{"rendered":"Automatic redirect for SSL configuration"},"content":{"rendered":"<p>If you switch on SSL, users have to type the URL beginning with https:\/\/&lt;server name&gt; \/Polarion. If they miss the \u201chttps\u201d, they will not reach the page. You can help your users with an automatic redirect in the Apache configuration.<\/p>\n<p><STRONG>httpd.conf<br \/>\n<\/STRONG><\/p>\n<p>remove the comment on the line:<br \/>\nLoadModule rewrite_module modules\/mod_rewrite.so<\/p>\n<p>Locate the following statement:<br \/>\nListen 80<\/p>\n<p>Add the following statements:<br \/>\nListen 8888<\/p>\n<p>The port 8888 will be used for communication between Apache and Polarion, since Polarion is not able to use SSL. In ssl.conf the access to this port is limited to localhost.<\/p>\n<p><STRONG>ssl.conf:<\/STRONG><br \/>\nAppend the following section to the file:<br \/>\n<P style=\"padding-left: 30px;\">#&#8211; rewrite the standard page to the ssl page<br \/>\n&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine on<br \/>\n#RewriteLog &#8220;path to logfile&#8221;<br \/>\n#RewriteLogLevel 9<\/P><br \/>\n<P style=\"padding-left: 30px;\">####<br \/>\n# Only apply the rules, if the port is not SSL (443)<br \/>\n# or the local port (8888)<br \/>\n####<\/P><br \/>\n<P style=\"padding-left: 30px;\">ReWriteCond %{SERVER_PORT} (443||8888)$<\/P><br \/>\n<P style=\"padding-left: 30px;\">####<br \/>\n# Redirect only access to repo and Polarion to the<br \/>\n# SSL port. The other stuff is not sensitive and can<br \/>\n# remain on the old port.<br \/>\n####<\/P><br \/>\n<P style=\"padding-left: 30px;\">RewriteRule (repo\/.*) https:\/\/%{HTTP_HOST}\/$1 [NC,L]<br \/>\nRewriteRule (polarion\/.*) https:\/\/%{HTTP_HOST}\/$1 [NC,L]<br \/>\n&lt;\/IfModule&gt;<\/P><br \/>\nBest Wishes<br \/>\nMatthias<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you switch on SSL, users have to type the URL beginning with https:\/\/&lt;server name&gt; \/Polarion. If they miss the \u201chttps\u201d, they will not reach the page. You can help your users with an automati&#8230;<\/p>\n","protected":false},"author":68985,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[],"class_list":["post-1068","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/users\/68985"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/comments?post=1068"}],"version-history":[{"count":1,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1068\/revisions"}],"predecessor-version":[{"id":1069,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1068\/revisions\/1069"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/media?parent=1068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/categories?post=1068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/tags?post=1068"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/industry?post=1068"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/product?post=1068"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/coauthors?post=1068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}