[Mongrel] Testing cluster setup

Farhad Farzaneh ff at onebeat.com
Sun Jul 13 21:00:54 EDT 2008


Hi all,

I have 2 questions that are hopefully simple to answer:

- I've set up Apache 2.2 w/ mongrel_cluster and the proxy balancer,
consistent w/ the setup shown on various blogs, and it all seems to
work ok.  But how can I tell if Apache, and not mongrel, is in fact
serving the static files as instructed, via a line such as the
following in the apache configuration:

  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
  RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]

- Is there a way to have time-stamps in the mongrel log files?

Many thanks,

Farhad


More information about the Mongrel-users mailing list