You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Querna <ch...@force-elite.com> on 2009/01/27 03:13:56 UTC
Re: [patch] Add IPV6 'specials' flag to mod_rewrite - try 2
Ryan Phillips wrote:
> Thanks for the tips. IN6_IS_ADDR_V4MAPPED is defined in netinet/in.h on
> unices and APR defines it on windows. I've modified the patch to check for
> APR_HAVE_IPV6 support and check for APR_HAVE_NETINET_IN_H. Also, this patch will
> apply to trunk/.
needs docs, but committed to trunk in r737973.
Thanks,
Paul
Re: [patch] Add IPV6 'specials' flag to mod_rewrite - try 2
Posted by Dan Poirier <po...@pobox.com>.
Paul Querna <ch...@force-elite.com> writes:
> Ryan Phillips wrote:
>> Thanks for the tips. IN6_IS_ADDR_V4MAPPED is defined in netinet/in.h on
>> unices and APR defines it on windows. I've modified the patch to check for
>> APR_HAVE_IPV6 support and check for APR_HAVE_NETINET_IN_H. Also, this patch will
>> apply to trunk/.
>
> needs docs, but committed to trunk in r737973.
How about (for trunk):
Index: mod_rewrite.xml
===================================================================
--- mod_rewrite.xml (revision 738498)
+++ mod_rewrite.xml (working copy)
@@ -836,6 +836,13 @@
can be safely used regardless of whether or not
<module>mod_ssl</module> is loaded).</dd>
+ <dt><code>IPV6</code></dt>
+
+ <dd>Will contain the text "on" if the connection is
+ using IPv6, or "off" otherwise. (This variable can
+ be safely used regardless of whether the server has
+ IPv6 support.)</dd>
+
</dl>
</note>
</li>