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
On Jul 13, 2008, at 9:00 PM, Farhad Farzaneh wrote:

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
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to