<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Rails doesn't know anything about your request being secure or not.
If your application is working fine without SSL, it should be
working fine with it too. Maybe you have installed some gem or rack
middleware to deal with https and it's acting funny?<br>
<br>
For my rails apps to run over SSL all I do is marking the cookie as
secure only (not really necessary, but I prefer it that way) then I
configure the web server to redirect all the http traffic to https.
I have used some gems in past projects to allow for some sections to
respond to http and some sections to https only, but then I decided
it was easier (and it made much more sense from a safety point of
view) to run the whole site under SSL. From the rails point of view,
all requests are the same once they reach the dispatcher, no matter
the URI scheme.<br>
<br>
<blockquote
cite="mid:CAAvWcKEZ9gVfi+owLpOPguOZc7UwXO=f+=2xySVt5p0m8oLVPA@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>My app is responding to HTTPS requests, so Apache and
Passenger send the request to the app.<br>
</div>
</blockquote>
<br>
So you are calling some actions via https and you are getting a
valid response generated by your application but not seeing any
activity in the logs? <br>
<br>
Unless you have some weird gem causing that, it would look as if you
were not hitting the instance of your app you are checking the log
for. It wouldn't be the first time I try to see in the development
log something when running on production or testing environments, or
even trying to check on my local log something running on staging.<br>
<br>
cheers,<br>
<br>
j<br>
<br>
<div class="moz-signature">-- <br>
<p>javier ramÃrez</p>
<p> ..i do ruby on rails development in madrid, spain, at <a
href="http://www.aspgems.com">http://www.aspgems.com</a>
</p>
<p> <a href="http://javier-ramirez.com" title="javier ramirez">javier
ramirez's home page (http://javier-ramirez.com)</a><br>
<a href="http://formatinternet.com" title="format internet :
ruby on rails blog by javier ramirez">javier ramirez's blog
(http://formatinternet.com)</a><br>
</p>
</div>
</body>
</html>