*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
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/ |