Re: [RELEASE CANDIDATE] libapreq2 2.13 RC

2010-11-25 Thread Adam Prime
builds and all tests pass on linux w/ 2.2.11 w/ perl 5.8.8 i'll give it a spin on solaris sparc and x86 tomorrow. Adam On 11/25/2010 2:34 PM, Issac Goldstand wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After a year and a half, the apreq team would like to release version 2.13 of lib

Re: Apache log modules

2010-11-25 Thread Andrej van der Zee
Hi, > My condolences.  I have felt your pain. Thanks ;) I just read the documentation of mod_log_config 2.3 and some logging-options have been added, to my pleasant surprise! I was thinking I could use: %a = client's IP address %{remote}p = client's port Would this pair uniquely identify one c

Re: Apache log modules

2010-11-25 Thread Andrej van der Zee
Hi Ted, > This is much better done at the application level. I am aware of that, but that is not an option unfortunately. Cheers, Andrej

Re: Apache log modules

2010-11-25 Thread Ted Dunning
This is much better done at the application level. Log a user id of some kind (usually session cookie based). Then sort by cookie first, then by time. The sorted file is what you need. For really large logs, some kind of map-reduce is warranted. On Thu, Nov 25, 2010 at 4:39 PM, Andrej van der

Apache log modules

2010-11-25 Thread Andrej van der Zee
Hi, I am looking for a way to deduct the concept of a "transaction" from the Apache log. What I mean is that I want to group HTTP requests that are sent by one particular client, for example when a user clicks a link in the browser. Then I want to be able to group all the HTTP requests that are th

Re: httpd-2.3.9-alpha test tarballs

2010-11-25 Thread Stefan Fritsch
Hi, On Thursday 25 November 2010, Gregg L. Smith wrote: > Much better, results seem to be the same as Guenter's; > > \server\util_expr_eval.c(350) : error C2440: ':' : cannot convert > from 'int (__stdcall *)(ap_expr_lookup_parms *)' to > 'ap_expr_lookup_fn (__cdecl *)' > > \server\util_expr_eva

Re: [RELEASE CANDIDATE] libapreq2 2.13 RC

2010-11-25 Thread Issac Goldstand
Examples, I'll have to hunt for, and maybe someone on-list will be able to give a good place to start. Docs you can find at http://httpd.apache.org/apreq/docs/libapreq2/index.html On 25/11/2010 21:43, pierre laplante wrote: > Is there any documentation or examples on how to used apreq from a C pr

[RELEASE CANDIDATE] libapreq2 2.13 RC

2010-11-25 Thread Issac Goldstand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After a year and a half, the apreq team would like to release version 2.13 of libapreq. Please test and vote on the following tarball: http://people.apache.org/~issac/libapreq2-2.13.tar.gz http://people.apache.org/~issac/libapreq2-2.13.tar.gz.asc h

Re: httpd-2.3.9-alpha test tarballs

2010-11-25 Thread Gregg L. Smith
Hello Stefan, Much better, results seem to be the same as Guenter's; \server\util_expr_eval.c(350) : error C2440: ':' : cannot convert from 'int (__stdcall *)(ap_expr_lookup_parms *)' to 'ap_expr_lookup_fn (__cdecl *)' \server\util_expr_eval.c(350) : error C2440: '=' : cannot convert from 'ap_

Re: svn commit: r1035412 - /httpd/apreq/trunk/glue/perl/t/apreq/cookie.t

2010-11-25 Thread Joe Schaefer
No rush. Philip is out of town for the next 2 weeks and I'm pretty sure the 3 votes you'll need are between you, me, and him. - Original Message > From: Issac Goldstand > To: apreq-...@httpd.apache.org > Sent: Thu, November 25, 2010 7:15:17 AM > Subject: Re: svn commit: r1035412 - >

Re: Making mod_proxy_http more aware of SSL

2010-11-25 Thread Daniel Ruggeri
Hence you should return a 500 as this signals the mod_proxy code that the backend is broken and should be put in error state. A 502 does not put the backend in error state (as you found out). Regards Rüdiger I didn't realize this was the case - marking it in error inside ap_proxy_http_proces

RE: Making mod_proxy_http more aware of SSL

2010-11-25 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Daniel Ruggeri > Sent: Donnerstag, 25. November 2010 16:20 > To: dev@httpd.apache.org > Subject: Re: Making mod_proxy_http more aware of SSL > > > > > The loggers get in error state automatically when you call > > ap_proxyerror with HTTP_INTERNAL_SERVER_ERR

Re: Making mod_proxy_http more aware of SSL

2010-11-25 Thread Daniel Ruggeri
The loggers get in error state automatically when you call ap_proxyerror with HTTP_INTERNAL_SERVER_ERROR. No need to do it manually. Regards Rüdiger The request goes into error state - that has never been the problem (502 is correct here). The real issue is that the proxy worker that served

RE: Making mod_proxy_http more aware of SSL

2010-11-25 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Daniel Ruggeri > Sent: Donnerstag, 25. November 2010 16:01 > To: dev@httpd.apache.org > Subject: Re: Making mod_proxy_http more aware of SSL > > > On 11/25/2010 4:14 AM, "Plüm, Rüdiger, VF-Group" wrote: > > the following seems better: > > > > > > +

Re: Making mod_proxy_http more aware of SSL

2010-11-25 Thread Daniel Ruggeri
On 11/25/2010 4:14 AM, "Plüm, Rüdiger, VF-Group" wrote: the following seems better: +else if(strcmp(apr_table_get(backend->connection->notes, "SSL_connect_rv"), "err") == 0) { +return ap_proxyerror(r, HTTP_INTERNAL_SERVER_ERROR, +

Re: Generic way how to inject configuration from one module to another

2010-11-25 Thread Ondřej Surý
Hi Guenter, thanks for the patch. It's the example of how I don't want to do it :-). I don't want to have code specific to the module I modify (zend_* in your patch). Ondrej On Thu, Nov 25, 2010 at 11:10, Guenter Knauf wrote: > Hi Ondřej, > Am 25.11.2010 10:33, schrieb Ondřej Surý: >> >> since

RE: Making mod_proxy_http more aware of SSL

2010-11-25 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Daniel Ruggeri [mailto:drugg...@primary.net] > Sent: Donnerstag, 25. November 2010 06:04 > To: dev@httpd.apache.org > Subject: Making mod_proxy_http more aware of SSL > > All; > I opened up bug 50332 to attach/document these patches. The patch > causes

Re: Generic way how to inject configuration from one module to another

2010-11-25 Thread Guenter Knauf
Hi Ondřej, Am 25.11.2010 10:33, schrieb Ondřej Surý: since people keep asking for that I'll ask here. Is there a generic way how to modify configuration of some other module from within f.e. mod-vhost-* modules? Somethink like per_dir configuration? I know it can be done, but you'll have to kno

Re: httpd-2.3.9-alpha test tarballs

2010-11-25 Thread Guenter Knauf
Stefan, Am 25.11.2010 08:14, schrieb Stefan Fritsch: On Tuesday 23 November 2010, Gregg L. Smith wrote: Here we go, cannot test beyond libhttp warning aren't a big deal but showing them anyway with errors Thanks. Please try the attached patch in addition to all changes so far. please go ahead

Generic way how to inject configuration from one module to another

2010-11-25 Thread Ondřej Surý
Hi, since people keep asking for that I'll ask here. Is there a generic way how to modify configuration of some other module from within f.e. mod-vhost-* modules? Somethink like per_dir configuration? I know it can be done, but you'll have to know the data structures and link with header files o