#911 new
Brian Gallew

sub-site failure

Reported by Brian Gallew | February 2nd, 2011 @ 05:32 PM | in Hobo 1.4

With 1.3.0.pre26 (I can't speak for earlier versions) if you want to have a racked hobo app served by Apache/mod_passenger and hosted at anyplace other than the root, you lose.

I've created an app called "versiontracker", located in /var/opt/webstack/share/versiontracker. My Apache config his this:
-----------CUT HERE------------ RackBaseURI /versiontracker

Options -MultiViews +Indexes Order allow,deny allow from all Satisfy any
-----------CUT HERE------------ I've symlinked the public directory of my app into the DocumentRoot as directed by the mod_passenger docs. Accessing the app, however, yields the home page with no theme/css/etc. Reading the Apache logs, it's clear that the app isn't prefixing any internal URLs with /versiontracker. None of the navigation tabs work, etc. Also, adding
-----------CUT HERE------------ config.action_controller.relative_url_root = "/versiontracker"
-----------CUT HERE------------ to my config/application.rb produces a 500 error. I'm at something of a loss here.

FTR, I'm running the Solaris 10 Glassfish stack:
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7d DAV/2 Phusion_Passenger/2.2.11

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages