It's amazing how often you figure out a problem, simply by writing it
down in the form of a question!
Okay! I've got it working. I was actually testing a non-https page,
so Rails very correctly redirected me back to http. This is one of
the things that threw me.
When I tried it on an 'ssl_required' page, it worked fine.
Hopefully these emails will help someone in the future.
Brgds: John
On Jan 17, 2008, at 10:43 AM, John Almberg wrote:
So I just found this in the mongrel FAQ (a good place for it, too!):
Q: Does Mongrel have SSL?
No, having a Ruby web server do complex SSL cryptography is stupid
when you can get any of the major web servers to do it faster.
Q: Why are Apache & SSL – Redirects going to http:// not https://?
Basically, you need to pass in a header so Rails knows what to do.
Read the bottom of the Apache Documentation for instructions on how
to do this.
So I guess the correct approach is to redirect to http://
address.of.mongrel:3000, and to use the RequestHeader to signal to
Rails that this is an https request.
Can someone confirm that my understanding is correct?
I'm asking because this config doesn't work for me, yet, but if I'm
on the right track, I should be able to find the problem eventually.
Thanks: John
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Websites for On-line Collectible Dealers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Identry, LLC
John Almberg
(631) 546-5079
[EMAIL PROTECTED]
www.identry.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users