Skip to content

Instantly share code, notes, and snippets.

@kaznum
Created October 21, 2011 12:56
Show Gist options
  • Save kaznum/1303776 to your computer and use it in GitHub Desktop.
Save kaznum/1303776 to your computer and use it in GitHub Desktop.
set up rails application to sub-path on passenger in apache.
# set up rails application to sub-path on passenger in apache.
# see more http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerAppRoot
Alias /hoge /var/www/hoge_app/public
<Directory /var/www/hoge_app/public>
PassengerAppRoot /var/www/hoge_app
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment