Re: custom background thread and module sharing a data structure

2009-03-12 Thread Andrej van der Zee
Hi, Thanks for the info. For the worker mpm, both cross thread and cross process protection will be needed. apr_proc_mutex.h family supplies cross-process protection, apr_thread_mutex.h provides cross thread protection. You locking method would be a wrapper method that first obtains a

Apache 2.2.10 with IPV6 on windows

2009-03-12 Thread Rashmi Badan
Hi All, There was a similar mail from someone else in the past but I did not find any resolution to the matter. I am facing the same problem (given below) and would much appreciate any help on this. I have apache 2.2.10 with APR_HAVE_IPV6 set to 1 and I am trying to run this build on a windows

Idea to (probably) GSoC 2009 about Apache HTTPD 2.0

2009-03-12 Thread chekmarev.alex
Hello, I would like to apply Google Summer Of Code this year as a student and have an idea that probably would be useful. Hence, this could be added to ideas list if the Apache will be accepted by GSoC this year. The idea, at all, has no concrete applications, and in theory I thought of adding

Re: mod_substitute back-references

2009-03-12 Thread Jim Jagielski
On Mar 11, 2009, at 5:03 AM, Nick Gearls wrote: Oops, stupid ! Anyway, a real problem: Substitute s|(toreplace)|*replaced[$1]*|qi translates toreplace into *replaced[*replaced[*replaced[toreplace]*]*]* Don't we expect the q flag to stop any replacement after the first one?

Misleading example in Apache 2 doc

2009-03-12 Thread Jose Kahan
! I'm not sure if I should mail this here or open a new bugzilla report. Please advice. The Content Negotiation doc is using a misleading example in this section: http://httpd.apache.org/docs/2.2/content-negotiation.html#better [[ Example SetEnvIf Cookie language=(.+) prefer-language=$1

Re: [PATCH] mod_dbd with more than one pool

2009-03-12 Thread Nick Kew
Nick Kew wrote: Kevac Marko wrote: Ok, here is sql init statement only patch against trunk: https://issues.apache.org/bugzilla/show_bug.cgi?id=46827 Thanks for the patch! Can I throw an alternative suggestion into the ring. [ ... ] Thoughts? A further thought. I had in mind PR#45407 -

Misleading example in Apache 2 doc (fix)

2009-03-12 Thread Jose Kahan
I didn't do my homework completely. According to RFC 2910, Cookie tokens may be separated by white space. The correct regular expression is: [[ SetEnvIf Cookie language\s*=\s*([a-z|A-Z][a-z|A-Z|-]+) prefer-language=$1 ]] Thanks! -jose

Re: mod_substitute back-references

2009-03-12 Thread Nick Gearls
It's not replaceAll vs. replaceFirst, it's replace recursively or not. For me, it should not be recursive (independently of the q flag, I agree with you Jim). Actually, if it is recursive, it should be a never-ending replacement in this case, which would be a (not voluntary) denial of service.

Re: mod_substitute back-references

2009-03-12 Thread Ruediger Pluem
On 03/12/2009 06:13 PM, Nick Gearls wrote: Anyway, a real problem: Substitute s|(toreplace)|*replaced[$1]*|qi translates toreplace into *replaced[*replaced[*replaced[toreplace]*]*]* Hm. I cannot reproduce this. Mind to attach the file to which you applied this? Regards RĂ¼diger

Re: Misleading example in Apache 2 doc (fix)

2009-03-12 Thread André Malo
* Jose Kahan wrote: [adding d...@] I didn't do my homework completely. According to RFC 2910, Cookie tokens may be separated by white space. The correct regular expression is: [[ SetEnvIf Cookie language\s*=\s*([a-z|A-Z][a-z|A-Z|-]+) prefer-language=$1 ]] Also, why are you allowing pipe

some advice re: custom WebDav (mod_dav)

2009-03-12 Thread Loyal
Hi all, I'm building a Web service that must accept small (1-50k) files pushed to it via the WebDAV protocol. I would like the Web server's DAV service to process the files immediately (stuffing the contents into a MySQL table). I also want to prevent any users from reading any files present

native kerberos authn

2009-03-12 Thread Antoine Bourbaki
Greetings all, I would like to ask if there are any plans to natively integrate kerberos 5 authentication into the httpd aaa modules tree. There seems to be quite a lot of interest on that, along with a large user base (mostly large Windows AD installations, but pure KRB5 sites too). Apologies