Redirect/SSL weirdness when updating tickets

Hey all, so I added SSL support to my RT installation (RT 3.6.1,
Apache 2.0, MySQL 5, basically everything from Debian Etch), and it
works great. Almost. I find that, intermittantly, when I update a
ticket the URL changes from https:// to http:// I have a ReWrite rule
for sites-enabled/rt (on apache; for the SSL flavor I’ve got
/sites-enabled/rt-ssl that has the SSL goodness plus the usual RT stuff
in there) that looks like this:

<VirtualHost 192.168.2.27:80>
ServerName betart.nellymoser.com
ServerAlias betart.nellymoser.com
Redirect / https://betart.nellymoser.com/

Could that be my problem? Is there a better way to do the redirect
so that specific requests for http:// under / are redirected to https:// ?

Many thanks!
–Lee

Hey all, so I added SSL support to my RT installation (RT 3.6.1, Apache
2.0, MySQL 5, basically everything from Debian Etch), and it works great.
Almost. I find that, intermittantly, when I update a ticket the URL changes
from https:// to http:// I have a ReWrite rule for sites-enabled/rt (on
apache; for the SSL flavor I’ve got /sites-enabled/rt-ssl that has the SSL
goodness plus the usual RT stuff in there) that looks like this:

<VirtualHost 192.168.2.27:80>
ServerName betart.nellymoser.com
ServerAlias betart.nellymoser.com
Redirect / https://betart.nellymoser.com/

Your rewrite rule should be fine.  In your RT_SiteConfig, is your 

WebBaseUrl have an https:// in it?

Ahh, no it definitly is not! Thank you sir, you’ve been most helpful!

–Lee

Jon Daley wrote:> On Fri, 20 Oct 2006, Lee Whalen wrote:

Hey all, so I added SSL support to my RT installation (RT 3.6.1,
Apache 2.0, MySQL 5, basically everything from Debian Etch), and it
works great. Almost. I find that, intermittantly, when I update a
ticket the URL changes from https:// to http:// I have a ReWrite rule
for sites-enabled/rt (on apache; for the SSL flavor I’ve got
/sites-enabled/rt-ssl that has the SSL goodness plus the usual RT
stuff in there) that looks like this:

<VirtualHost 192.168.2.27:80>
ServerName betart.nellymoser.com
ServerAlias betart.nellymoser.com
Redirect / https://betart.nellymoser.com/

Your rewrite rule should be fine.  In your RT_SiteConfig, is your 

WebBaseUrl have an https:// in it?


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media. Buy
a copy at http://rtbook.bestpractical.com