Benno,

Thanks for the investigation - that throws more light on it. We were using http 
internally and https externally - I think I may just patch my systems as per 
your test and use https 100% of the time, the server is not particularly 
heavily loaded so it should not be a big problem. How did you decide to proceed 
and have you had any more feedback on the "if" statement?

Best regards

James

-----Original Message-----
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Benno Overeinder
Sent: 17 July 2009 16:45
To: Ruslan Zakirov
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Using https in web interface results sometimes in "Bad 
Request"

Hi Ruslan,

On 07/16/2009 10:42 PM, Ruslan Zakirov wrote:
> Do you use both http and https?

Yes, for testing purposes I have used both http and https.  http works
fine, also for the Redirect subroutine in Web.pm.

For testing/debugging, I have removed the if-then-else statement and
just hardcoded the $uri->scheme('https') in Redirect.  Then https works
like a charm, but now using http and a redirect happens, http is
promoted to https by the hardcoded $uri->scheme('https').  As expected
of course. :-)

Best,

-- Benno

-- 
Benno J. Overeinder
NLnet Labs
http://www.nlnetlabs.nl/

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Reply via email to