Re: [Mongrel] Apache rewrites with mongrel

2008-06-16 Thread Ralf Vitasek
the dispatch.cgi thing was meant for fastcgi setups without mongels, but noone is using that anymore. i don't think you need any rewrites at all. by pointing the document root to the public dir and the ProxyPass that end with "!" will make apache serve them statically without bothering you

Re: [Mongrel] Apache rewrites with mongrel

2008-06-16 Thread Guido Holz
uff... I saw this on an turorial.. but something went wrong.. know I have no time to cahnge and try out what´s right :-( So what handles the cached static-html-sites on your proxypasses?!? is this realy enough? another question is the difference between RewriteCond %{REQUEST_FILENAME} !-f Rewr

Re: [Mongrel] Apache rewrites with mongrel

2008-06-16 Thread Ralf Vitasek
why do you need rewrites at all? just point your document root to the rails public dir and these ProxyPass settings should be enough ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass /javascripts ! ProxyPass / balancer://mongrelcluster/ ProxyPassReverse / balancer://mongrelcluster

[Mongrel] Apache rewrites with mongrel

2008-06-16 Thread Guido Holz
I´m knew to rewrites on apache in combination with mongrelcluster. It´s urgend for me, because the server has an loadaverage about 10 :-( Ok so I´m using 3 mongrel-server on an mongrelcluster. The Loadbalancer ist apache I think, that my rewrites are not correct. Please can anybody check my r