Testing cluster setup

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

you can use

curl -I http://www.google.com/intl/en_ALL/images/logo.gif
(thats a capital i, not a lowercase L)

and look for the server header

-J

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs