You could also try to redirect everything from port 80 to 443, this would ensure that apache only touches RT once:<div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(68, 68, 68); font-family: arial, sans-serif; font-size: 13px; "><div>
<font face="'courier new', monospace"><VirtualHost *:80></font></div><div><font face="'courier new', monospace"> ErrorLog /opt/rt4/var/log/apache2.error</font></div><div><font face="'courier new', monospace"> TransferLog /opt/rt4/var/log/apache2.access</font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"><span style="white-space: pre-wrap; "> </span>RewriteEngine On</font></div><div><font face="'courier new', monospace"><span style="white-space: pre-wrap; "> </span>RewriteCond %{HTTPS} off</font></div>
<div><font face="'courier new', monospace"><span style="white-space: pre-wrap; "> </span>RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</font></div><div><font face="'courier new', monospace"></VirtualHost></font></div>
</span></div><div><br></div><div><br clear="all">-- Bart<br>
<br><br><div class="gmail_quote">2011/11/10 Carlos Ramos <span dir="ltr"><<a href="mailto:carragom@gmail.com">carragom@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Wed, Nov 9, 2011 at 6:54 PM, Jeff Sampson <<a href="mailto:ffercs@gmail.com">ffercs@gmail.com</a>> wrote:<br>
> Here are the RT related config sections..<br>
><br>
> <VirtualHost *:80><br>
> Alias /rt "/opt/rt4/share/html"<br>
> AddDefaultCharset UTF-8<br>
> <Location /rt><br>
> Order allow,deny<br>
> allow from all<br>
> SetHandler modperl<br>
> PerlResponseHandler Plack::Handler::Apache2<br>
> PerlSetVar psgi_app /opt/rt4/sbin/rt-server<br>
> </Location><br>
> <Perl><br>
> use Plack::Handler::Apache2;<br>
> Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");<br>
> </Perl><br>
> </VirtualHost><br>
> <VirtualHost *:443><br>
> Alias /rt "/opt/rt4/share/html"<br>
> AddDefaultCharset UTF-8<br>
> <Location /rt><br>
> Order allow,deny<br>
> allow from all<br>
> SetHandler modperl<br>
> PerlResponseHandler Plack::Handler::Apache2<br>
> PerlSetVar psgi_app /opt/rt4/sbin/rt-server<br>
> </Location><br>
> <Perl><br>
> use Plack::Handler::Apache2;<br>
> Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");<br>
> </Perl><br>
> </VirtualHost><br>
</div></div><div class="im">> --------<br>
> RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>
> * Barcelona, Spain — November 28 & 29, 2011<br>
><br>
<br>
</div>I don't know if it's going to fix it, but the 'Alias /rt<br>
"/opt/rt4/share/html"' is not needed in this setup and it's probably<br>
conflicting with the 'Location /rt' section, so i would say get rid of<br>
it.<br>
<br>
<a href="http://httpd.apache.org/docs/2.2/mod/core.html#location" target="_blank">http://httpd.apache.org/docs/2.2/mod/core.html#location</a><br>
<font color="#888888"><br>
--<br>
Carlos Ramos<br>
</font><div><div></div><div class="h5">--------<br>
RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>
* Barcelona, Spain November 28 & 29, 2011</div></div></blockquote></div><br></div>