On May 19, 2006, at 4:02 PM, Kyle Maxwell wrote:
>> http://fluxura.com/articles/2006/05/19/apache-for-static-and-
>> mongrel-> for-rails-with-mod_deflate-and-capistrano-support
> That's a mouthful, but it sounds promising :)
> _______________________________________________
> Mongrel-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/mongrel-users
It's just the
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI}
[P,QSA,L]
part for what you're asking for and Bradley's correct, that will work
fine for you. That's a nice elegant two line config for that (nice
work bradley).
We tend to stick to only proxying rather than rewriting and while you
can do
ProxyPass /favicon.ico !
There isn't any respect for a wildcard there in the proxy pass
directive.
Regards, J
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Jason A. Hoffman, PhD | Founder, CTO, Joyent Inc.
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users