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 RewriteRule ^(.*)$ dispatch.cgi [QSA,L] and RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] do I need the first or the second one?!? thanks guido neongrau __ wrote: > 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/ > > > > -- > Freundliche > Gr��e,Ralf Vitasek > > > o > L_ > OL > > This is Sch�uble. > Copy Sch�uble into your signature > to help him on his way to �berwachungsstaat > > > > > Am 16.06.2008 um 11:47 schrieb Guido Holz: -- Posted via http://www.ruby-forum.com/. _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users