Bradley, I tried this apache config and it worked fien. Only issue I found: After uncommenting all logfile lines, I got an error at: <br><br><code class="typocode_default">logs/your_app_deflate_log</code><br><br>I replaced with:
<br><br><code class="typocode_default">logs/your_app_deflate_log deflate<br><br></code>and it worked, but (so far) only compressed HTML files and no javascript or CSS files (Browser: Firefox 1.5.3)<br><div><span class="gmail_quote">
<br>But considering that is took a couple of minutes to get and compile form source apache 2.2.2 and make it work with mongrel, I am more than satisfied with the result. (With my lighty-mongrel setup I didn't get compressing to work at all)
<br><br>regards<br>Roberto<br><br>On 5/19/06, <b class="gmail_sendername">bradley taylor</b> <<a href="mailto:bradley@railsmachine.com">bradley@railsmachine.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey y'all...<br><br>Give this a try and let me know how it works!<br><br><a href="http://fluxura.com/articles/2006/05/19/apache-for-static-and-mongrel-">http://fluxura.com/articles/2006/05/19/apache-for-static-and-mongrel-
</a><br>for-rails-with-mod_deflate-and-capistrano-support<br><br>Thanks,<br>Bradley Taylor<br><br>------<br>Rails Machine<br>Simplified Ruby on Rails application deployment<br><a href="http://railsmachine.com">http://railsmachine.com
</a><br><br>On May 19, 2006, at 5:45 PM, Zed Shaw wrote:<br><br>> Hi Kyle,<br>><br>> You'll need a set of mod_rewrite rules to really get this right. I'm<br>> currently writing the apache best practice documentation, so I'll ping
<br>> the list and you specifically when that's working right.<br>><br>> Zed<br>><br>> On Fri, 2006-05-19 at 14:38 -0700, Kyle Maxwell wrote:<br>>>> This can be accomplished easily with mod_proxy (assuming only one
<br>>>> rails app> per virtual host, and using Apache 2.2 with<br>>>> mod_proxy_balancer).<br>>> I don't think you read my post. Particularly, the part where I said:<br>>>> Unfortunately, it seems that you have to segregate the static
<br>>>> content in its own> folder.<br>>> To clarify, I was wondering about mixing static and dynamic<br>>> content inthe same folder or folder hierarchy.<br>>><br>>> -- Kyle Maxwell<br>
>> _______________________________________________<br>>> Mongrel-users mailing list<br>>> <a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br>>> <a href="http://rubyforge.org/mailman/listinfo/mongrel-users">
http://rubyforge.org/mailman/listinfo/mongrel-users</a><br>><br>> _______________________________________________<br>> Mongrel-users mailing list<br>> <a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org
</a><br>> <a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br><br><br><br><br><br><br>_______________________________________________<br>Mongrel-users mailing list
<br><a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br></blockquote></div>
<br><br clear="all"><br>-- <br>Roberto Saccon