On Mar 21, 2011, at 12:37 AM, Guang-Nan Cheng wrote:

> For example, I have a webapp that handles /welcome.
> 
> Does unicorn support to mount the entire webapp at /prefix so request
> to /prefix/welcome are handled?

If it is a Rails app you can put the following in your unicorn config file:

ENV['RAILS_RELATIVE_URL_ROOT'] = '/prefix'

_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to