Apache Cache configuration

2009-03-02 Thread dreamice
Dear All, I configured the Apache cache mode by following the httpd document sample. My configure is: IfModule mod_cache.c IfModule mod_mem_cache.c CacheEnable mem / CacheRoot /home/alex/apache/logs MCacheSize 4096 MCacheMaxObjectCount 1000 MCacheMinObjectSize 1 MCacheMaxObjectSize 2048

Re: Apache Cache configuration

2009-03-02 Thread dreamice
My httpd version is 2.2.11, Is there anything wrong with that? Thanks dreamice wrote: Dear All, I configured the Apache cache mode by following the httpd document sample. My configure is: IfModule mod_cache.c IfModule mod_mem_cache.c CacheEnable mem / CacheRoot

Re: Apache Cache configuration

2009-03-02 Thread Graham Leggett
dreamice wrote: I configured the Apache cache mode by following the httpd document sample. My configure is: IfModule mod_cache.c IfModule mod_mem_cache.c CacheEnable mem / CacheRoot /home/alex/apache/logs MCacheSize 4096 MCacheMaxObjectCount 1000 MCacheMinObjectSize 1 MCacheMaxObjectSize 2048

Re: uninstall Makefile target

2009-03-02 Thread Alfonso Ruzafa Molina
I see. Will be factible to implement these uninstall target using the method you use? Regards. 2009/2/26 Graham Leggett minf...@sharp.fm Alfonso Ruzafa Molina wrote: I noticed Apache uses autotools to be built. Since uninstall is a standard target in autotools, why that isn't available?

Re: Apache Cache configuration

2009-03-02 Thread dreamice
Dear Graham, Thanks for your reply. Yes, I am using mem cache. When I test this case, I find that the client's request is directly passed to the real server. As I test the disk mode, there is also no data cached on my directory. I dont know why. Could any one come across with this case? The

Re: patch for handling headers_in and headers_out as tables in mod_lua

2009-03-02 Thread Brian Akins
On 2/28/09 8:37 PM, Brian McCallister bri...@skife.org wrote: It could be just:    apr_hash_set(dispatch, document_root, APR_HASH_KEY_STRING,                 makefun(req_content_encoding_field, APL_REQ_FUNTYPE_STRING,                         p)); Also, couldn't we build the dispatch has

Re: mod_wombat and mod_lua

2009-03-02 Thread Brian Akins
On 2/27/09 2:56 PM, Brian McCallister bri...@skife.org wrote: Maybe virtually joining :-) It maybe interesting to have a virtual extension to the hackathon. IRC is good, but misses a lot of discussion I think. Some actual voice interaction would be nice. I've see you all before, so I don't

[PATCH] fix recognition of APR 2.x

2009-03-02 Thread Jeff Trawick
Check out trunk. Check out APR trunk and APR-Util trunk into srclib/apr and srclib/apr-util. ./configure --with-included-apr. See error messages containing apr-1-config scroll by. trunk/configure.in looks for apr-2-config, but it does so before srclib/apr is configured, when apr-2-config

Re: patch for handling headers_in and headers_out as tables in mod_lua

2009-03-02 Thread Brian McCallister
-- Please forgive typos, sent from phone. On Mar 2, 2009, at 5:34 AM, Brian Akins br...@akins.org wrote: On 2/28/09 8:37 PM, Brian McCallister bri...@skife.org wrote: It could be just: apr_hash_set(dispatch, document_root, APR_HASH_KEY_STRING,

Re: [PATCH] fix recognition of APR 2.x

2009-03-02 Thread Mladen Turk
Jeff Trawick wrote: I wouldn't be at all surprised if other folks are already using APR trunk with httpd trunk daily and I've missed something basic, so comments appreciated ;) Right, I hand-crafted this, so you have my +1 Anyhow, what about making some release apr-2 dependent so we can

Re: [PATCH] fix recognition of APR 2.x

2009-03-02 Thread William A. Rowe, Jr.
Jeff Trawick wrote: Check out trunk. Check out APR trunk and APR-Util trunk into srclib/apr and srclib/apr-util. ./configure --with-included-apr. See error messages containing apr-1-config scroll by. Just so you are aware, list consensus has it that apr-util falls off of trunk and becomes

additional lbmethods in mod_proxy_balancer

2009-03-02 Thread Florian S.
Hi everyone! I'm desperately trying to implement an additional loadbalancing algorithm. Did anyone succeeded in declaring own methods? The httpd-users-list did not give any reply, so I'll try it here once again. I'm not able to find the error since I adapted the major part from the original.

Re: [PATCH] fix recognition of APR 2.x

2009-03-02 Thread Jeff Trawick
On Mon, Mar 2, 2009 at 10:31 AM, William A. Rowe, Jr. wr...@rowe-clan.netwrote: Jeff Trawick wrote: Check out trunk. Check out APR trunk and APR-Util trunk into srclib/apr and srclib/apr-util. ./configure --with-included-apr. See error messages containing apr-1-config scroll by. Just

Re: additional lbmethods in mod_proxy_balancer

2009-03-02 Thread Rainer Jung
What's you balancer configuration leading to the cited error? On 02.03.2009 16:34, Florian S. wrote: Hi everyone! I'm desperately trying to implement an additional loadbalancing algorithm. Did anyone succeeded in declaring own methods? The httpd-users-list did not give any reply, so I'll try

Re: additional lbmethods in mod_proxy_balancer

2009-03-02 Thread Florian S.
Hi, First, thanks for your reply. Here the outline of my config: VirtualHost *:1234 # [...] ProxyPass / balancer://lb/ ProxyPassReverse / balancer://lb/ /VirtualHost Proxy balancer://lb # That works fine: ProxySet lbmethod=byrequests # This would lead to the error I

Re: [PATCH] fix recognition of APR 2.x

2009-03-02 Thread Eric Covener
On Mon, Mar 2, 2009 at 11:07 AM, Jeff Trawick traw...@gmail.com wrote: (I'll commit before long unless somebody who has it working now with APR trunk has a suggestion.) Just confirmed that my changes were dead code with a clean tree, so no squeak here. -- Eric Covener cove...@gmail.com

Re: [PATCH] fix recognition of APR 2.x

2009-03-02 Thread Jeff Trawick
On Mon, Mar 2, 2009 at 12:23 PM, Eric Covener cove...@gmail.com wrote: On Mon, Mar 2, 2009 at 11:07 AM, Jeff Trawick traw...@gmail.com wrote: (I'll commit before long unless somebody who has it working now with APR trunk has a suggestion.) Just confirmed that my changes were dead code with

Re: additional lbmethods in mod_proxy_balancer

2009-03-02 Thread Rainer Jung
On 02.03.2009 18:02, Florian S. wrote: Hi, First, thanks for your reply. Here the outline of my config: VirtualHost *:1234 # [...] ProxyPass / balancer://lb/ ProxyPassReverse / balancer://lb/ /VirtualHost Proxy balancer://lb # That works fine: ProxySet lbmethod=byrequests

Re: svn commit: r749375 - /httpd/httpd/trunk/configure.in

2009-03-02 Thread William A. Rowe, Jr.
traw...@apache.org wrote: Author: trawick Date: Mon Mar 2 17:40:33 2009 New Revision: 749375 URL: http://svn.apache.org/viewvc?rev=749375view=rev Log: improve acceptance of APR/APR-Util trunk/2.0-dev On my other comment earlier... -1 on this patch appearing in any alpha candidate of 1.3

Re: svn commit: r749375 - /httpd/httpd/trunk/configure.in

2009-03-02 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: traw...@apache.org wrote: Author: trawick Date: Mon Mar 2 17:40:33 2009 New Revision: 749375 URL: http://svn.apache.org/viewvc?rev=749375view=rev Log: improve acceptance of APR/APR-Util trunk/2.0-dev On my other comment earlier... -1 on this patch appearing in

Re: svn commit: r749375 - /httpd/httpd/trunk/configure.in

2009-03-02 Thread Jeff Trawick
On Mon, Mar 2, 2009 at 1:19 PM, William A. Rowe, Jr. wr...@rowe-clan.netwrote: William A. Rowe, Jr. wrote: traw...@apache.org wrote: Author: trawick Date: Mon Mar 2 17:40:33 2009 New Revision: 749375 URL: http://svn.apache.org/viewvc?rev=749375view=rev Log: improve acceptance of

Re: svn commit: r749438 - in /httpd/httpd/trunk: CHANGES support/ab.c

2009-03-02 Thread Jeff Trawick
On Mon, Mar 2, 2009 at 4:17 PM, traw...@apache.org wrote: Author: trawick Date: Mon Mar 2 21:17:43 2009 New Revision: 749438 URL: http://svn.apache.org/viewvc?rev=749438view=rev Log: ab: Fix maintenance of the pollset to resolve EINPROGRESS errors with kqueue (BSD/OS X) and excessive CPU