0

I'm using mongrel + apache 2.2 + mod_proxy_balancer.

apache2.2 is IPv6 well http://httpd.apache.org/docs/2.2/en/bind.html#ipv6

Does Mongrel do IPv6 well?

Platform:RHEL ruby:1.8.6

raven
  • 18,004
  • 16
  • 81
  • 112
freddiefujiwara
  • 57,041
  • 28
  • 76
  • 106

1 Answers1

0

If you are using Apache as a frontend to Mongrel, whether Mongrel supports IPv6 or not is irrelevant, as Apache will serve your requests over IPv6 anyway.

It is perfectly acceptable to have Apache listen on [::]:80, and proxy to a Mongrel running on 127.0.0.1:1234, or whatever you use, and will be no less ‘IPv6-ready’ than proxying to a Mongrel running on, say [::1]:1234.

The 127.0.0.1 loopback interface will not be going anywhere any time soon, even after the apocalypse!

Jeremy Visser
  • 6,237
  • 1
  • 25
  • 30
  • Does Mongrel track anything by IP address? Won't it get confused by this solution if it does? – Omnifarious Oct 27 '09 at 03:21
  • That sort of confusion would occur whether over IPv4 or IPv6, thus isn't quite relevant to this question. Using Apache as a reverse proxy in this way is the norm (and is a safe assumption that the O.P. is doing it this way). – Jeremy Visser Oct 27 '09 at 04:27