Re: Making mod_authz_host less opaque

2010-10-13 Thread Philip Prindeville
On 10/13/10 5:34 PM, Guenter Knauf wrote: Am 13.10.2010 23:43, schrieb Philip Prindeville: I recently tried to use mod_setenvif and mod_geoip to block access from countries rife with hackers. I wasn't able to get it to work (see my posting on users). works for me: # Configuration for mod_geo

Re: Making mod_authz_host less opaque

2010-10-13 Thread Guenter Knauf
Am 13.10.2010 23:43, schrieb Philip Prindeville: I recently tried to use mod_setenvif and mod_geoip to block access from countries rife with hackers. I wasn't able to get it to work (see my posting on users). works for me: # Configuration for mod_geoip GeoIPEnable On GeoIPDBFile "/var

Re: logging patch bug

2010-10-13 Thread Philip Prindeville
On 10/12/10 12:57 PM, Stefan Fritsch wrote: On Monday 11 October 2010, William A. Rowe Jr. wrote: Why were ap_errorlog_format_item->min_loglevel and ap_errorlog_info->level declared with two different types? ap_errorlog_info->level is -1 if no log level is available, i.e. when logging per-requ

Making mod_authz_host less opaque

2010-10-13 Thread Philip Prindeville
I recently tried to use mod_setenvif and mod_geoip to block access from countries rife with hackers. I wasn't able to get it to work (see my posting on users). But in trying to figure out why it wasn't working, it struck me that there was no quick and easy way to debug the problem. I'd like

Re: svn commit: r1000814 - in /httpd/httpd/trunk: CHANGES server/mpm/event/event.c

2010-10-13 Thread Igor Galić
- "Jeff Trawick" wrote: > On Wed, Oct 13, 2010 at 1:37 AM, William A. Rowe Jr. > wrote: > > On 10/12/2010 4:22 PM, Jeff Trawick wrote: > >> > >> Someone mentioned using 2.2 event in production on the list,today > or That was me. > >> yesterday, so I peeked at 2.2 and this bug appears to a

Re: svn commit: r1000814 - in /httpd/httpd/trunk: CHANGES server/mpm/event/event.c

2010-10-13 Thread Jeff Trawick
On Wed, Oct 13, 2010 at 1:37 AM, William A. Rowe Jr. wrote: > On 10/12/2010 4:22 PM, Jeff Trawick wrote: >> >> Someone mentioned using 2.2 event in production on the list,today or >> yesterday, so I peeked at 2.2 and this bug appears to affect it.  Any >> interest out there in seeing what it takes

Re: Bug 47066 - Header edit replacement string is not a format string

2010-10-13 Thread Eric Covener
On Wed, Oct 13, 2010 at 7:20 AM, Nick Gearls wrote: >  Hello, > > I'd like to extend the patch to allow also format string into the regex > part, but 'parse_format_string' looks a bit hard-coded to the value part. > How could I use to parse the regex? I assume the regex is compiled at startup, wh

Bug 47066 - Header edit replacement string is not a format string

2010-10-13 Thread Nick Gearls
Hello, I'd like to extend the patch to allow also format string into the regex part, but 'parse_format_string' looks a bit hard-coded to the value part. How could I use to parse the regex? Thanks, Nick

Re: [us...@httpd] mod_cache: possible bug with cache-control max-age vs expires (rfc2616)

2010-10-13 Thread Igor Galić
Hi Frank, > Morning list; This list might be the wrong place to discuss such matters. > While playing around with mod_cache & Drupal (Pressflow actually) I > think I may have found a problem in mod_cache's implementation of the > http/1.1 cache expiration mechanism. > > According to the spec (

Re: Problem with building httpd without /dev/random, link of htpasswd fails: ERROR: Undefined symbol: .apr_generate_random_bytes

2010-10-13 Thread Michael Felt
OOPS! please read "do not expect"! now l...@me !! My apologies for extra reply. Not that I expect you to adopt this l...@me, but I did want to inform you of > what I see as a idiosyncrancy in the why configure works with the main > package, but not with the utilities. > > regards, > Michael >

Re: Problem with building httpd without /dev/random, link of htpasswd fails: ERROR: Undefined symbol: .apr_generate_random_bytes

2010-10-13 Thread Michael Felt
I understand that apr does not offer true randomness, but the only place in the code requiring a call to apr_generate_random_bytes() was in htpasswd.c - the rest compiled fine, and it seems to run. The function calling apr_generate_random_bytes() is a static routine called seed_rand(), apparantly