Hi Henry, I don't have experience serving Hobo apps in subfolders, I just know it can be a bit hard to get all URL helpers to add the right prefix.
Tim Griffin wrote to me in April with a similar situation, so he might have some interesting insights. A couple of questions: * Have you thought about using a subdomain instead of a subfolder? myapp.domain.com instead of domain.com/myapp. This would be my first recommendation, though I understand that sometimes external requirements are just unavoidable. * I see you are using Haproxy in your setup. I used it a long time ago, so my memories are not very fresh. Can you describe your setup a bit more? Something like this? domain.com >> haproxy proxies to server A domain.com/myapp >> haproxy proxies to server B, running Hobo Warm regards, Ignacio El 28-06-2016 a las 17:46, Henry Baragar escribió: > Hello, > > Once again, I am having problems with sub URI's (aka relative_url_root) > <https://groups.google.com/forum/#%21searchin/hobousers/relative$20url$20root/hobousers/LppGuTeu_rA/PHvm_VNHaUgJ>. > > Does anyone have this working with: > > * hobo 2.2.6 > * rails 4.2.6 > * ruby 2.2.4p230 > * HA-Proxy version 1.6.3 > * rails s > o i.e. no phusion, nor puma, nor any other server > > Thanks, > > Henry > > > -- > > * * > > *Henry Baragar* > > Director, Software Development > > *CSE* | *Canadian Securities Exchange* > > *D *(647) 729-8325 > > > > 220 Bay Street, 9th Floor | Toronto | ON | Canada | M5J 2W4 > > www.thecse.com <http://www.thecse.com/> | @CSE_News > <https://twitter.com/CSE_News> > > > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
