I've installed mod_passenger for Apache on my Linux box. The module has compiled correctly and Apache seems to be loading it correctly (no errors with this side of things).
BUt when I set up a vhost to point to a Rails app (Redmine project management), I get a page moaning about "Ruby on Rails application could not be started". Specifically, "Error message: No such file or directory - config/environment.rb".
I can see that there is indeed a config/environment.rb in the Redmine root folder. My vhost config is like this:
<VirtualHost *:80>
# server DocumentRoot, address, and admin email
RailsBaseURI /redmine
DocumentRoot /srv/www/htdocs
</VirtualHost>
I have got the Redmine source at /srv/www/htdocs/redmine (with no symlinks or anything because it was moaning about that).
In a fit of rage because nothing was working, I recursively set the file ownership and mode of the /redmine folder to wwwrun:www (my Apache user and group) and 777. Do you think this is the problem?
Any ideas or advice greatly appreciated.
PS. Are there any projects out there to rewrite Redmine in PHP? LOL!