Forum: Mongrel Testing cluster setup

Posted by Farhad Farzaneh (clipper)
on 2008-07-14 03:01
(Received via mailing list)
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
Posted by Jerrod Blavos (Guest)
on 2008-07-14 05:12
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.