[prev in list] [next in list] [prev in thread] [next in thread]
List: snap-users
Subject: (KAME-snap 2576) Re: Apache
From: itojun () iijlab ! net
Date: 2000-05-25 11:42:31
[Download RAW message or body]
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <14678.959254937.1@coconut.itojun.org>
Content-Transfer-Encoding: 7bit
>I have problems with Apache/1.3.9 (Unix) with FreeBSD 3.4 and stable
>20000214. v6 patch is apache-139-v6-19991013a.diff.gz.
>I'd like to restrict http access to just a /48 prefix.
>In httpd.conf it refuses to accept my
> Order deny,allow
> Deny from all
> Allow from 3ffe:200:8::/48
># apachectl configtest
>Syntax error on line 380 of /usr/local/etc/apache/httpd.conf:
>network/netmask resolved to multiple addresses
>Even a line such as this doesn't work (same error):
> Allow from 3ffe:200:8:300:1:1:1:1
>Can you (Itojun - I believe you patched it) help me?
oops, the same report came to me.
omit the japanese text, and please try the following patch.
itojun
------- =_aaaaaaaaaa0
Content-Type: message/rfc822
Return-Path: <owner-IPv6-jp@jp.freebsd.org>
Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42])
by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id UAA14410
for <itojun@itojun.org>; Thu, 25 May 2000 20:19:44 +0900 (JST)
Received: from castle.jp.freebsd.org (castle.jp.freebsd.org [210.226.20.15])
by updraft.jp.freebsd.org (8.9.3+3.2W/8.7.3/smtpfeed 1.04) with ESMTP id UAA64987;
Thu, 25 May 2000 20:17:59 +0900 (JST)
(envelope-from owner-IPv6-jp@jp.freebsd.org)
Received: (from daemon@localhost)
by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id UAA53167;
Thu, 25 May 2000 20:17:58 +0900 (JST)
(envelope-from owner-IPv6-jp@jp.FreeBSD.org)
Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97])
by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id UAA53162
for <IPv6-jp@jp.freebsd.org>; Thu, 25 May 2000 20:17:57 +0900 (JST)
(envelope-from itojun@itojun.org)
Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1])
by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id UAA14375
for <IPv6-jp@jp.freebsd.org>; Thu, 25 May 2000 20:17:55 +0900 (JST)
To: IPv6-jp@jp.freebsd.org
In-reply-to: y.shirasaki's message of Thu, 25 May 2000 18:40:57 JST.
<20000525.184057.42491031.yasuhiro@ntt.com>
X-Template-Reply-To: itojun@itojun.org
X-Template-Return-Receipt-To: itojun@itojun.org
X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2
From: itojun@iijlab.net
Date: Thu, 25 May 2000 20:17:55 +0900
Message-ID: <14373.959253475@coconut.itojun.org>
Reply-To: IPv6-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: IPv6-jp 740
Subject: [IPv6-jp 740] Re: apache proxy acl with v6addr/prefix
Errors-To: owner-IPv6-jp@jp.freebsd.org
Sender: owner-IPv6-jp@jp.freebsd.org
X-Originator: itojun@itojun.org
X-Filter: mailagent [version 3.0 PL68] for itojun@itojun.org
>network/netmask resolved to multiple addresses
>$B$N$h$&$KE\$i$l$F$7$^$$$^$9!#0J2<$NItJ,$G(B getaddrinfo()
>$B$G(B2$B$DJV$C$FMh$k$N$r9M$($F$J$$$N$,LdBj$J$N$G$7$g$&$+(B?
this should solve your problem. thanks!
itojun
Index: modules/standard/mod_access.c
===================================================================
RCS file: /cvsroot/apps/apache13/src/modules/standard/mod_access.c,v
retrieving revision 1.15
diff -u -r1.15 mod_access.c
--- modules/standard/mod_access.c 2000/03/15 00:02:22 1.15
+++ modules/standard/mod_access.c 2000/05/25 11:17:35
@@ -195,6 +195,7 @@
memset(&hints, 0, sizeof(hints));
hints.ai_family = PF_UNSPEC;
+ hints.ai_socktype = SOCK_STREAM; /*dummy*/
#ifdef AI_NUMERICHOST
hints.ai_flags = AI_NUMERICHOST; /*don't resolve*/
#endif
------- =_aaaaaaaaaa0--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic