Re: thread ID

2012-03-06 Thread Massimo Manghi
I'm quite aware the code is public, but I thought it would be highly recommended to rely on interfaces rather than copying pasting implementations that might change in future. Days ago I put on this list a question (that went unanswered) concerning the proper way to infer the running mpm

Re: mod_ssl ignores connection-aborted eos_sent

2012-03-06 Thread Daniil A Megrabjan
I'm writing a module which serves a special URL. In cases when URL-string matches the special pattern my module sends the connection(SCM_RIGHTS) between HTTP client and Apache to another process. Furthermore, Apache child has been told to forget about this connection in this way:

problems about mod_fastcgi

2012-03-06 Thread Rui Hu
hi, I am writing a module whose function depends on variable r-uri. But r-uri is modified when I activate mod_fastcgi. 1. I just want to make sure whether mod_fastcgi modified r-uri. 2. How to know if mod_fastcgi is activated in my own module? So I can handle the request differently depends on

Re: problems about mod_fastcgi

2012-03-06 Thread Rui Hu
There is a strange thing happened when I use mod_fastcgi. When requested a php script uri=/info.php, in Apache, actually, there are two requests processed: uri=/info.php and uri=/cgi-bin/php.fcgi. And neither of them are the other's sub-request. However, the request related to fastcgi should be

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Mario Brandt
On Windows this happens, too when not running as Adminstrator. Running the same config as Administrator it works smoothly. [Tue Mar 06 09:53:59.734436 2012] [proxy_balancer:emerg] [pid 7064:tid 356] (OS 5)Access forbidden : AH01179: balancer slotmem_create failed [Tue Mar 06 09:53:59.735436

Re: thread ID

2012-03-06 Thread Rainer Jung
On 06.03.2012 09:25, Massimo Manghi wrote: I'm quite aware the code is public, but I thought it would be highly recommended to rely on interfaces rather than copying pasting implementations that might change in future. Days ago I put on this list a question (that went unanswered) concerning

Re: removal of mod_noloris?

2012-03-06 Thread Jim Jagielski
On Mar 5, 2012, at 12:01 PM, William A. Rowe Jr. wrote: On 3/2/2012 2:16 AM, Nick Kew wrote: Mod_noloris was a quickdirty fix to a rather serious problem. It was superseded when Stefan produced a better fix, so there's no expectation now that mod_noloris will ever 'graduate'. I don't

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jim Jagielski
OK... What I'll do is add a directive which provides a default location for slotmem file... On Mar 5, 2012, at 1:53 PM, Zisis Lianas wrote: I can reproduce this on SuSE Linux Enterprise 11sp1 (x86_64, 2.6.32.12-0.7-xen) and Ubuntu 11.04 (x86_64, 2.6.38.x). - Ursprüngliche Mail -

Re: removal of mod_noloris?

2012-03-06 Thread Igor Galić
- Original Message - On Mar 5, 2012, at 12:01 PM, William A. Rowe Jr. wrote: On 3/2/2012 2:16 AM, Nick Kew wrote: Mod_noloris was a quickdirty fix to a rather serious problem. It was superseded when Stefan produced a better fix, so there's no expectation now that

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jeff Trawick
On Tue, Mar 6, 2012 at 7:56 AM, Jim Jagielski j...@jagunet.com wrote: OK... What I'll do is add a directive which provides a default location for slotmem file... Uhh, that seems as endless as per-mutex directives. Is slotmem not using DEFAULT_REL_RUNTIMEDIR already? (not perfect, but a good

RE: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Plüm , Rüdiger , VF-Group
Sounds reasonable. -Original Message- From: Jeff Trawick [mailto:traw...@gmail.com] Sent: Dienstag, 6. März 2012 14:37 To: dev@httpd.apache.org Subject: Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179) On Tue, Mar 6, 2012 at 7:56 AM, Jim Jagielski

Re: removal of mod_noloris?

2012-03-06 Thread Nick Kew
On Mon, 05 Mar 2012 11:01:50 -0600 William A. Rowe Jr. wr...@rowe-clan.net wrote: On 3/2/2012 2:16 AM, Nick Kew wrote: Mod_noloris was a quickdirty fix to a rather serious problem. It was superseded when Stefan produced a better fix, so there's no expectation now that mod_noloris will

Re: removal of mod_noloris?

2012-03-06 Thread Jeff Trawick
On Tue, Mar 6, 2012 at 9:26 AM, Nick Kew n...@webthing.com wrote: On Mon, 05 Mar 2012 11:01:50 -0600 William A. Rowe Jr. wr...@rowe-clan.net wrote: On 3/2/2012 2:16 AM, Nick Kew wrote: Mod_noloris was a quickdirty fix to a rather serious problem.  It was superseded when Stefan produced a

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jeff Trawick
On Tue, Mar 6, 2012 at 8:38 AM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com wrote: Sounds reasonable. BTW, I started sketching out a RuntimeDir directive and ap_runtime_dir_relative() API. (i.e., I threw some code together but I don't have time this a.m. to test it ;) ). If something

Re: [RE-VOTE #3] adoption of mod_combine subproject

2012-03-06 Thread William A. Rowe Jr.
On 3/5/2012 12:29 PM, Jeff Trawick wrote: On Sat, Mar 3, 2012 at 10:08 AM, William A. Rowe Jr. wr...@rowe-clan.net wrote: A proposal to adopt mod_combine is attached. [ ] Option 1: adopt as trunk module [ ] Option 2: adopt only as subproject [X] Option 3: do not adopt Before tallying, I

Re: [RE-VOTE #3] adoption of mod_combine subproject

2012-03-06 Thread Jeff Trawick
On Tue, Mar 6, 2012 at 9:54 AM, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 3/5/2012 12:29 PM, Jeff Trawick wrote: On Sat, Mar 3, 2012 at 10:08 AM, William A. Rowe Jr. wr...@rowe-clan.net wrote: A proposal to adopt mod_combine is attached.  [ ] Option 1: adopt as trunk module  [ ]

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jim Jagielski
Yeah, that seems better, ala ./modules/cache/mod_socache_dbm.c On Mar 6, 2012, at 8:36 AM, Jeff Trawick wrote: On Tue, Mar 6, 2012 at 7:56 AM, Jim Jagielski j...@jagunet.com wrote: OK... What I'll do is add a directive which provides a default location for slotmem file... Uhh, that seems

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jeff Trawick
On Tue, Mar 6, 2012 at 10:33 AM, Jim Jagielski j...@jagunet.com wrote: Yeah, that seems better, ala ./modules/cache/mod_socache_dbm.c On behalf of anyone else reading this thread, here's the idiom from mod_socache_dbm.c: #define DEFAULT_DBM_PREFIX DEFAULT_REL_RUNTIMEDIR /socache-dbm- ...

Re: removal of mod_noloris?

2012-03-06 Thread Graham Leggett
On 06 Mar 2012, at 4:46 PM, Jeff Trawick wrote: I'm fine with that. What about the folks who voted to keep it last time the subject arose? http://www.gossamer-threads.com/lists/apache/users/383407 http://www.gossamer-threads.com/lists/apache/dev/383405 Do we just need to offer Dirk an

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jim Jagielski
http://svn.apache.org/viewvc?rev=1297560view=rev On Mar 6, 2012, at 10:39 AM, Jeff Trawick wrote: On Tue, Mar 6, 2012 at 10:33 AM, Jim Jagielski j...@jagunet.com wrote: Yeah, that seems better, ala ./modules/cache/mod_socache_dbm.c On behalf of anyone else reading this thread, here's the

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Zisis Lianas
Thanks Jim, that works fine for the default-rel-runtimedir configuration. Slotmem file is created as serverroot/logs/slotmem-shm-s.shm. Now if also the slotmem-file-target-location directive gets available, this thread is done for me. Regards, Zisis - Original Message - From:

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Jim Jagielski
My plan is 2 pronged... to see if r1297560 is enough and if allowing a slotmem override is even needed (or wanted) ... ;) On Mar 6, 2012, at 12:35 PM, Zisis Lianas wrote: Thanks Jim, that works fine for the default-rel-runtimedir configuration. Slotmem file is created as

Re: removal of mod_noloris?

2012-03-06 Thread Igor Galić
- Original Message - On 06 Mar 2012, at 4:46 PM, Jeff Trawick wrote: I'm fine with that. What about the folks who voted to keep it last time the subject arose? http://www.gossamer-threads.com/lists/apache/users/383407 http://www.gossamer-threads.com/lists/apache/dev/383405

log-message-tags

2012-03-06 Thread Jim Jagielski
Hmmm... anyone else noticing that the httpd-2.4 branch is lacking the docs/log-message-tags/ dir?

Re: log-message-tags

2012-03-06 Thread Jim Jagielski
Oh yeah... and how do we worry about keeping things in sync. For example, right now trunk uses 02298 and 02299, but 2.4 does not. When another log entry is added to 2.4, do we use these or skip these??? On Mar 6, 2012, at 6:21 PM, Jim Jagielski wrote: Hmmm... anyone else noticing that the

Re: removal of mod_noloris?

2012-03-06 Thread William A. Rowe Jr.
On 3/6/2012 5:18 PM, Igor Galić wrote: - Original Message - On 06 Mar 2012, at 4:46 PM, Jeff Trawick wrote: I'm fine with that. What about the folks who voted to keep it last time the subject arose? http://www.gossamer-threads.com/lists/apache/users/383407

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Rainer Jung
On 06.03.2012 15:53, Jeff Trawick wrote: On Tue, Mar 6, 2012 at 8:38 AM, Plüm, Rüdiger, VF-Group ruediger.pl...@vodafone.com wrote: Sounds reasonable. BTW, I started sketching out a RuntimeDir directive and ap_runtime_dir_relative() API. (i.e., I threw some code together but I don't have

Re: log-message-tags

2012-03-06 Thread Rainer Jung
hi Jim, On 07.03.2012 00:24, Jim Jagielski wrote: Oh yeah... and how do we worry about keeping things in sync. For example, right now trunk uses 02298 and 02299, but 2.4 does not. When another log entry is added to 2.4, do we use these or skip these??? On Mar 6, 2012, at 6:21 PM, Jim Jagielski

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-06 Thread Guenter Knauf
Hi Jeff, Am 26.02.2012 22:44, schrieb Jeff Trawick: I guess the problem is that those MPM APIs are not decorated with AP_DECLARE() so they don't get added to httpd.exp so they don't get exported from httpd on AIX. Can you try the attached patch to mpm_common.h? it seems that this breaks the

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Daniel Ruggeri
On 3/6/2012 6:32 PM, Rainer Jung wrote: I like the idea even if the current problem will be fixed without. I think the locations of all created or read file can be influenced by configuration except for some implicit files in DEFAULT_REL_RUNTIMEDIR, which is a build time setting. So being able

Re: httpd 2.4.1 and mod_slotmem_shm / mod_proxy_balancer (AH01179)

2012-03-06 Thread Rainer Jung
On 07.03.2012 02:01, Daniel Ruggeri wrote: On 3/6/2012 6:32 PM, Rainer Jung wrote: I like the idea even if the current problem will be fixed without. I think the locations of all created or read file can be influenced by configuration except for some implicit files in DEFAULT_REL_RUNTIMEDIR,