Bug 41857 - [PATCH]mod_setenvif patch
Summary: [PATCH]mod_setenvif patch
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_setenvif (show other bugs)
Version: 2.2.4
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: FixedInTrunk
Depends on:
Reported: 2007-03-16 00:57 UTC by KIKUCHI Kousuke
Modified: 2012-02-26 16:42 UTC (History)
0 users

PatchAvailable (8.04 KB, patch)
2007-03-16 01:01 UTC, KIKUCHI Kousuke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KIKUCHI Kousuke 2007-03-16 00:57:59 UTC
Hi all

I created a mod_setenvif.c patch that is available for ip range(see below).

IPRangeMatch in
IPRangeMatch in
IPRangeMatch in

setenv module is only regex base.
this patch is a little convenience if you want to set envs by ip range.

Comment 1 KIKUCHI Kousuke 2007-03-16 01:01:06 UTC
Created attachment 19718 [details]
Comment 2 Stefan Fritsch 2010-11-28 16:17:08 UTC
The new SetEnvIfExpr directive allows to match by subnet/netmask.
See r1039900
Comment 3 Stefan Fritsch 2012-02-26 16:42:46 UTC
fixed in 2.4.1