I have a Rails app running on Passenger; It works as expected over unencrypted connections. I also have a working Apache SSL setup; I can access any static file available via http with https. When I try to access the Rails app via https, I get a 403 error (Directory index forbidden by rule). Turning on indexes for the directory simply causes Apache to display an index. I do have +ExecCGI set for the appropriate directory in the SSL version of the VirtualHost directive.

I'm sure there's something obvious I'm overlooking. I'm just not sure where I need to be looking.

link|improve this question
feedback

1 Answer

There were domain-wide VirtualHost directives for each of SSL and non-SSL. The non-SSL version contained a RailsBaseURI directive, while the SSL version did not. Passenger requires the RailsBaseURI directive to work.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.