httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Phillips <>
Subject Re: [patch] Add IPV6 'specials' flag to mod_rewrite
Date Tue, 10 Jun 2008 01:19:09 GMT
Ryan Phillips <> said:
> So I needed to create some mod_rewrite rules only for IPv6 when httpd is
> configured for both ipv4 and ipv6 modes.  This patch adds 
> 'RewriteCond IPV6 on' support to the ruleset.
> I initially tried to see if the incoming socket was APR_INET6, but couldn't
> find the right structure within the request to query.

Should r->connection->local_addr or remote_addr have the correct socket
family?  If I try either of these over an IPv4 connection, I always get a
socket family of IPv6.


View raw message