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"
Regards,
Ed C.
On 5/24/06, Ed C. <[EMAIL PROTECTED]> wrote:
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:Routing Error
Recognition failed for "/RailsAppSample/"(I've seen examples of people running multiple rails apps under lighttpd + fcgi using a "strip-request-uri" option, but I don't think that exists for mod_proxy.)Does anyone have any suggestions?Thanks,Ed C.
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
