Satya's blog - Rails and Mongrel
Okay, you have a Ruby on Rails project, and Mongrel. Suppose your project is 'spiffy' and can be found at http://yourspiffyserver.com/spiffy
In config/routes.rb, add:
Somewhere in your default routes, in the same routes.rb file, add the route to
your default controller and method, the things you want to hit when someone
goes to http://yourspiffyserver.com/spiffy
Symlink your public directory to your project name: Be sure to give your web server write access to log/ and tmp/ with a chown -R.
Add something like the following in your Apache config (remember, this is for Mongrel):
Add to /etc/mongrel/sites-available/ a file called spiffy or spiffy.conf containing:
As usual, these instructions may or may not work for you. |
|