Advertisement
c00lways

apache and passenger with rails as sub uri

May 13th, 2015
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Alias /shop /home/user1/rails/current/public
  2.  
  3. <Directory /home/user1/rails/current/public>
  4. SetEnv RAILS_RELATIVE_URL_ROOT "/shop"
  5. PassengerAppRoot /home/user1/rails/current
  6. RailsBaseURI /shop
  7. Options -MultiViews
  8. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement