<div>All,</div>
<div> </div>
<div>I realize this was probably off-topic (not really mongrel-centric) -- my apologies.</div>
<div> </div>
<div>I "solved" the problem by appending to my Environment.rb:</div>
<div> </div>
<div><font size="2"> ActionController::AbstractRequest.relative_url_root = "/RailsAppSample"</font></div>
<div><font size="2"></font> </div>
<div><font size="2">How come that doesn't serve up the default "public/index.html" ? It </font>caused a Routing Error for "", so I added a temporary default to Routes.rb:</div>
<div> </div>
<div> <font size="2">map.connect '', :controller => "rails/info", :action => "properties"</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Regards,</font></div>
<div><font size="2">Ed C.</font></div>
<div><br> </div>
<div><span class="gmail_quote">On 5/24/06, <b class="gmail_sendername">Ed C.</b> <<a href="mailto:defeated2k4@gmail.com">defeated2k4@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>Zed / List,</div>
<div> </div>
<div>On my workstation I'm running lighttpd 1.4.11 and mongrel <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://0.3.12.4/" target="_blank">0.3.12.4</a>. Here are my proxy settings:</div>
<div> </div>
<div><font size="2">proxy.debug = 0<br>proxy.balance = "fair"<br>proxy.server = (<br> "/RailsAppSample" => ((<br> "host" => "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://127.0.0.1/" target="_blank">
127.0.0.1</a>",<br> "port" => 1337<br>)))</font></div>
<div><font size="2"></font> </div>
<div><font size="2">I can access <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost/" target="_blank">http://localhost/</a> (default lighty welcome page) and <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost:1337/" target="_blank">
http://localhost:1337/</a> (default rails welcome page) just fine!</font> </div>
<div><font size="2"></font> </div>
<div><font size="2">However, when I try to access <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost/RailsAppSample/" target="_blank">http://localhost/RailsAppSample/</a> I get:</font></div>
<div><font size="2"></font> </div>
<div><font size="2"> Routing Error<br> Recognition failed for "/RailsAppSample/"</font></div>
<div><font size="2"></font> </div>
<div><font size="2">(I've seen examples of people running multiple rails apps under <font size="2">lighttpd + </font>fcgi using a "strip-request-uri" option, but I don't think that exists for mod_proxy.)</font>
</div>
<div><font size="2"></font> </div>
<div><font size="2">Does anyone have any suggestions?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thanks,</font></div></div>
<div><span class="sg">
<div><font size="2">Ed C.</font></div></span></div></blockquote></div><br>