Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

You'll need to create a symlink from your virtualhost root directory to your rails application.  The following is an example for the virtual host "test-vhostssl.hosting.cornell.edu" :

No Format

$ pwd

...


/infra/lamp/mounts/emc256/emc256test2/htdocs/test-vhostssl.hosting.cornell.edu

...


# find relative path to rails application

...


$ ls ../../rails

...


rails23/  rails30/  rails31/

...


# create symlink to "public" directory

...


$ ln -s ../../rails/rails23/public rails31

...


cd rails31

...


# create .htaccess file for passenger

...


$ cat .htaccess

...


RackBaseURI /rails31

...


PassengerAppRoot /infra/lamp/mounts/emc256/emc256test2/rails/rails31/