I have this almost working with passenger (aka mod-rails).
Here is part of my apache config (I'm on ubuntu, so it's
/etc/apache2/sites-available/ssl for me):
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot /var/www/ssl
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
RailsBaseURI /tracks
</VirtualHost>
My tracks installation is in /var/www/tracks, and I made a simlink in my
DocumentRoot as directed here
http://www.modrails.com/documentation/Users%20guide.html#deploying_rails_to_sub_uri:
ln -s /var/www/tracks/public /var/www/ssl/tracks
A couple of questions about the salt. Do we need to change this line in
environment.rb now?
SITE_CONFIG['salt'] * (30.0 / SITE_CONFIG['salt'].length).ceil
In the database.yml.tmpl, the example for mysql lacked the line:
socket: /var/run/mysqld/mysqld.sock
Not needed anymore?
Passenger is making a very pretty error screen for me. The error it throws
is "No such file or directory - /nonexistent"
By the way, with passenger we're supposed to delete the .htaccess file.
Stephen
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss