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
-
Domizio Demichelis March 10th, 2011 @ 09:13 PM
- State changed from new to investigating
- Milestone set to Hobo 1.3 (Rails 3)
- Milestone order changed from 197946 to 0
this should be a Rails 3 issue, not a hobo one: please try this http://stackoverflow.com/questions/3613873/rails-passenger-sub-uri-... and let me know whether I can close this ticket.
-
Domizio Demichelis March 27th, 2011 @ 01:23 PM
- State changed from investigating to hold
-
Domizio Demichelis April 15th, 2011 @ 05:09 PM
- State changed from hold to new
- Milestone changed from Hobo 1.3 (Rails 3) to Hobo 1.4
- Milestone order changed from 9 to 0
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป