Hi Deron --
Thanks for the reply.  See my reply to Graham.

Btw:
Love the photography !


On Jun 1, 9:52 pm, Deron Meranda <[email protected]> wrote:
> On Tue, Jun 1, 2010 at 11:35 PM, viper <[email protected]> wrote:
> > I'm running mod_wsgi under my virtual server provider (VSP), [...]
> > everything over ipv6 to ipv4. [...]   I ruled out 'iptables'.
>
> > My question is (and perhaps if it pertains only to apache2 or python,
> > please feel free to post):
>
> I agree with Graham, this is unlikely to be a python or mod_wsgi issue.
> Test with a static file under Apache to be sure.
>
> Just guessing, this could be a DNS issue.  Check to see if Apache is
> configured to do reverse DNS lookups?  If so, test again with it
> disabled.
>
> I assume you meant ip6tables if you're on an IPv6 stack.  Even then,
> netfilter (e.g., ip*tables) is unlikely to result in performance issues,
> unless you're using the rather atypical packet rate-limiting targets.
>
> Also when you say you tested locally, were you using the loopback
> such as one of:
>
>   curl -g -v "http://[::1]/";
>   ab "http://[::1]/";
>
> or something different?
>
> If these things don't help, and you still see the problem with serving
> static files; your best bet would be to contact your VSP for help,
> or perhaps the Apache groups.
>
> > Do I need to do or install anything to support ip6?
>
> Since the socket handling is inside Apache and not mod_wsgi there
> is nothing special you need to do (in python or mod_wsgi) to support
> IPv6.  You may need to configure Apache and/or the OS though.
>
> However do be aware that some WSGI variables (like "REMOTE_ADDR")
> that may typically contain ASCII representations of IP addresses will
> obviously have IPv6 addresses instead (in colon-representation).  So if
> your application does any processing of those, your app needs to be
> aware of the different address notations.
>
> The standard python urlparse module can deal with URLs using
> IPv6 literals (RFC 2732).  But if you need to mess directly with IPv6
> addresses you may want to look at the IPy package,
>    http://pypi.python.org/pypi/IPy
>
> --
> Deron Merandahttp://deron.meranda.us/

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to