Displaying 2 results from an estimated 2 matches for "railsappsample".
2006 May 24
1
Rails App in Subfolder = Routing Error Recognition Failed
Zed / List,
On my workstation I''m running lighttpd 1.4.11 and mongrel 0.3.12.4. Here are
my proxy settings:
proxy.debug = 0
proxy.balance = "fair"
proxy.server = (
"/RailsAppSample" => ((
"host" => "127.0.0.1",
"port" => 1337
)))
I can access http://localhost/ (default lighty welcome page) and
http://localhost:1337/ (default rails welcome page) just fine!
However, when I try to access http://localhost/RailsAppSample/ I get...
2006 May 25
0
(OT?) Rails App in Subfolder = Routing Error Recognition Failed
All,
I realize this was probably off-topic (not really mongrel-centric) -- my
apologies.
I "solved" the problem by appending to my Environment.rb:
ActionController::AbstractRequest.relative_url_root = "/RailsAppSample"
How come that doesn''t serve up the default "public/index.html" ? It caused a
Routing Error for "", so I added a temporary default to Routes.rb:
map.connect '''', :controller => "rails/info", :action => "properties"
Re...