> 
> 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_rail
> s_to_sub_uri:
>    ln -s /var/www/tracks/public /var/www/ssl/tracks
> 

You need to set Options FollowSymLinks so that Apache is allowed to follow
your symlink

> 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
> 

This is changed in tracks1.7rc2. You need to set this in site.yml. See the
new site.yml.tmpl file

> In the database.yml.tmpl, the example for mysql lacked the line:
>     socket: /var/run/mysqld/mysqld.sock
> Not needed anymore?
> 

That is only needed if tracks (actually the mysql gem for rails) cannot find
the sock file.

> Passenger is making a very pretty error screen for me. The error it
> throws
> is "No such file or directory - /nonexistent"
> 

I think this is related to the FollowSymlink option. But it could also be
because of the missing site.yml (?)

You can always look into the error_log of apache. Don't know where ubuntu
puts this, but mine is 
in /var/log/httpd/error_log (Fedora)

> By the way, with passenger we're supposed to delete the .htaccess file.

I think this does not matter since you didn't specify the apache option
AllowOverride

Hopefully this will help

Reinier

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to