<div dir="ltr">Someone may later say this is incorrect, but in my config, my web port is still 80. I have:<div><div><br></div><div>Set($WebBaseURL,</div><div> 'https://'</div><div> . RT->Config->Get('WebDomain')</div><div>);</div></div><div><br></div><div>Then I used Apache mod_rewrite: </div><div><br></div><div><div>RewriteEngine On</div><div>RewriteCond %{SERVER_PORT} !^443$</div><div>RewriteRule ^.*$ <a href="https://rt.domain.com/%{REQUEST_URI}">https://rt.domain.com/%{REQUEST_URI}</a> [L,R]</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 23, 2015 at 3:50 PM, Jason L Tibbitts III <span dir="ltr"><<a href="mailto:tibbs@math.uh.edu" target="_blank">tibbs@math.uh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've just completed a migration from our ancient RT 3.8.8 install to a<br>
shiny new 4.2.12 install (using the Fedora packages). Everything went<br>
smoothly except for a few Selinux issues (relating to a domain<br>
transition between the MTA and rt-mailgate) which I'm working out with<br>
the Fedora selinux folks.<br>
<br>
There's one issue which I've not yet manage to figure out, however. I'm<br>
afraid it must be a FAQ but I can't find any solution which applies. My<br>
web server is configured to redirect any http access to the<br>
corresponding https: URL and RT itself is only configured to use port<br>
443. However, immediately after login, RT itself issues a redirect that<br>
sends the user to an http: URL. This is of course immediately directed<br>
back to https: by the web server, but when that happens I see the<br>
following:<br>
<br>
[warning]: The requested port (80) does NOT match the configured WebPort (443). Perhaps you should Set($WebPort, 80); in RT_SiteConfig.pm, otherwise your internal links may be broken. (/usr/share/perl5/vendor_perl/RT/Interface/Web.pm:1308<br>
<br>
So far this is merely annoying; everything seems to function properly.<br>
But I simply cannot figure out any way to keep RT from redirecting the<br>
user to an http: URL after login. I've played with<br>
$CanonicalizeRedirectURLs and $WebBaseURL but they seem to make no<br>
difference in this case. $WebPort is set to 443 as indicated in the<br>
message.<br>
<br>
Is there some magical configuration setting I'm missing, or have I<br>
perhaps messed something else up?<br>
<span class="HOEnZb"><font color="#888888"><br>
- J<<br>
</font></span></blockquote></div><br></div>