<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Hi,<br><br>I'm attempting to migrate an app from Apache+FCGI to Apache+Mongrel.&nbsp; I'm using Apache 2.0 with the latest Mongrel release.&nbsp; I'm having an issue with the Mint stats package and Mongrel not picking up the following url:&nbsp; /mint/?js<br><br>Basically inside the /mint folder there is an index.php, so the url /mint/?js should really be going to /mint/index.php?js<br><br>When I had my Apache+FCGI setup I had to add the following code to the .htaccess file under my Rails public directory to get it to work:<br><br><pre><span class="constant">RewriteEngine</span> <span class="constant">On</span><br><span class="constant">RewriteCond</span> <span class="punct">%{</span><span class="string">REQUEST_URI</span><span class="punct">}</span> ^<span class="punct">/</span><span class="ident">mint</span><span
 class="punct">.*</span><br><span class="ident">RewriteRule</span> <span class="punct">.*</span> <span class="punct">-</span> <span class="punct">[</span><span class="ident">L</span><span class="punct">]<br><br>Is somehow the translation being lost in the proxying of the requests<br>from Apache to Mongrel?<br><br>Here is my virtual host I have setup in Apache:<br><br>&lt;VirtualHost 10.0.0.1:80&gt;<br><span>ProxyPass / <a target="_blank" href="http://127.0.0.1:3000/">http://127.0.0.1:3000/</a></span><br><span>  ProxyPassReverse / <a target="_blank" href="http://127.0.0.1:3000/">http://127.0.0.1:3000/</a></span><br>ServerName beta.perficient.com<br>ServerAdmin "support@perficient.com"<br>CustomLog "/u/apps/snippets/current/log/access_log" "combined"<br>ErrorLog "/u/apps/snippets/current/log/error_log"<br>&lt;/VirtualHost&gt;<br><br>Any ideas?<br><br>Thanks in advance.<br><br></span>&nbsp;</pre><br>
<div>&nbsp;</div>----------------------------------------------------------------------------------------------------<br>What's an Intel chip doing in a Mac? A whole lor more that it's ever done in a PC.<br><br><span>My Digital Life - <a target="_blank" href="http://scottwalter.com/blog">http://scottwalter.com/blog</a></span><br><span>Pro:Blog - <a target="_blank" href="http://scottwalter.com/problog">http://scottwalter.com/problog</a></span><br><span>Snippets  - <a target="_blank" href="http://snippets.scottwalter.com">http://snippets.scottwalter.com</a></span><div><br></div></div></body></html>