logs/your_app_deflate_logI replaced with:
logs/your_app_deflate_log deflate
and it worked, but (so far) only compressed HTML files and no _javascript_ or CSS files (Browser: Firefox 1.5.3)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)
regards
Roberto
On 5/19/06, bradley taylor <[EMAIL PROTECTED]> wrote:
Hey y'all...
Give this a try and let me know how it works!
http://fluxura.com/articles/2006/05/19/apache-for-static-and-mongrel-
for-rails-with-mod_deflate-and-capistrano-support
Thanks,
Bradley Taylor
------
Rails Machine
Simplified Ruby on Rails application deployment
http://railsmachine.com
On May 19, 2006, at 5:45 PM, Zed Shaw wrote:
> Hi Kyle,
>
> You'll need a set of mod_rewrite rules to really get this right. I'm
> currently writing the apache best practice documentation, so I'll ping
> the list and you specifically when that's working right.
>
> Zed
>
> On Fri, 2006-05-19 at 14:38 -0700, Kyle Maxwell wrote:
>>> This can be accomplished easily with mod_proxy (assuming only one
>>> rails app> per virtual host, and using Apache 2.2 with
>>> mod_proxy_balancer).
>> I don't think you read my post. Particularly, the part where I said:
>>> Unfortunately, it seems that you have to segregate the static
>>> content in its own> folder.
>> To clarify, I was wondering about mixing static and dynamic
>> content inthe same folder or folder hierarchy.
>>
>> -- Kyle Maxwell
>> _______________________________________________
>> Mongrel-users mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/mongrel-users
>
> _______________________________________________
> Mongrel-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users
--
Roberto Saccon
_______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
