Re: Issuing a client side HTTP request from a module

2010-04-23 Thread alin vasile
I don't know. You can try it. if not, third-party libraries should help From: Some Guy teknos...@gmail.com To: modules-dev@httpd.apache.org Sent: Fri, April 23, 2010 12:10:47 AM Subject: Re: Issuing a client side HTTP request from a module Wow that looks

Re: My own module and catching Proxy Request

2010-04-23 Thread Petr Hracek
2010/4/22 Petr Hracek phrac...@gmail.com Hello *, I hope that I am sending those question to the correct discussion list. In my Apache2 (2.2.3) configuration file I have: VirtualHost _default_:443 SSLEngine on DocumentRoot /opt/apache/htdocs/ssldocs ProxyPass /PAC/

httpd trunk, apr/apu 1.4 branches and Linux

2010-04-23 Thread Jim Jagielski
(sorry for the cross-post but httpd-trunk and APR are now so entwined that its required)... OK... I've been playing around with building httpd-trunk on Linux and I've been having troubles left and right (using the 1.4 branches of both apr and apr-util installed right in ./srclib)... First of

Re: httpd trunk, apr/apu 1.4 branches and Linux

2010-04-23 Thread William A. Rowe Jr.
On 4/23/2010 7:58 AM, Jim Jagielski wrote: For those who are working on httpd trunk and Linux, what are you using? Expat 2.0.1 or os vendor expat

Re: httpd trunk, apr/apu 1.4 branches and Linux

2010-04-23 Thread Jeff Trawick
On Fri, Apr 23, 2010 at 8:58 AM, Jim Jagielski j...@jagunet.com wrote: (sorry for the cross-post but httpd-trunk and APR are now so entwined that its required)... OK... I've been playing around with building httpd-trunk on Linux and I've been having troubles left and right (using the 1.4

Re: httpd trunk, apr/apu 1.4 branches and Linux

2010-04-23 Thread Jim Jagielski
On Apr 23, 2010, at 9:31 AM, Jeff Trawick wrote: On Fri, Apr 23, 2010 at 8:58 AM, Jim Jagielski j...@jagunet.com wrote: (sorry for the cross-post but httpd-trunk and APR are now so entwined that its required)... OK... I've been playing around with building httpd-trunk on Linux and I've

Re: httpd trunk, apr/apu 1.4 branches and Linux

2010-04-23 Thread Jeff Trawick
On Fri, Apr 23, 2010 at 9:40 AM, Jim Jagielski j...@jagunet.com wrote: On Apr 23, 2010, at 9:31 AM, Jeff Trawick wrote: On Fri, Apr 23, 2010 at 8:58 AM, Jim Jagielski j...@jagunet.com wrote: (sorry for the cross-post but httpd-trunk and APR are now so entwined that its required)... OK...

Re: HTTP trailers?

2010-04-23 Thread Brian J. France
For those following this thread, here is a update. You can build a module that is able to insert a trailer by adding a filter and ap_hook_create_request call. You have to have a ap_hook_create_request call that runs after http_core.c and loops over the r-output_filters and removes

Re: HTTP trailers?

2010-04-23 Thread William A. Rowe Jr.
On 4/23/2010 9:03 AM, Brian J. France wrote: You can build a module that is able to insert a trailer by adding a filter and ap_hook_create_request call. But doesn't this defeat the purpose of using a modular server architecture? It seems this should be a facility of the core HTTP filter, if

Re: httpd trunk, apr/apu 1.4 branches and Linux

2010-04-23 Thread Jim Jagielski
On Apr 23, 2010, at 9:58 AM, Jeff Trawick wrote: On Fri, Apr 23, 2010 at 9:40 AM, Jim Jagielski j...@jagunet.com wrote: On Apr 23, 2010, at 9:31 AM, Jeff Trawick wrote: ./buildconf found apr source: srclib/apr found apr-util source: srclib/apr-util rebuilding srclib/apr/configure

My own module and catching Proxy Request

2010-04-23 Thread Petr Hracek
Authorization is based on username/password stored in database. First of all I authenticate user and afterwards redirection is done. I have following RewriteRule but it does not work at all. RewriteRule ^/([^/]+)$ ${unity:$1|/$1} [L] RewriteRule ^/([^/]+)/(.*)

Re: HTTP trailers?

2010-04-23 Thread Brian J. France
On Apr 23, 2010, at 10:08 AM, William A. Rowe Jr. wrote: On 4/23/2010 9:03 AM, Brian J. France wrote: You can build a module that is able to insert a trailer by adding a filter and ap_hook_create_request call. But doesn't this defeat the purpose of using a modular server architecture?

Re: HTTP trailers?

2010-04-23 Thread Jeff Trawick
On Fri, Apr 23, 2010 at 11:25 AM, Brian J. France br...@brianfrance.com wrote: On Apr 23, 2010, at 10:08 AM, William A. Rowe Jr. wrote: On 4/23/2010 9:03 AM, Brian J. France wrote: You can build a module that is able to insert a trailer by adding a filter and ap_hook_create_request call.

RE: HTTP trailers?

2010-04-23 Thread Plüm, Rüdiger, VF-Group
-Original Message- From: Jeff Trawick I think there is a bigger design discussion that should happen, but I might have a patch down the road as a starter if all goes well at work. This is probably naive, but something to take pot shots at... use r-trailers_out non-empty

Re: HTTP trailers?

2010-04-23 Thread William A. Rowe Jr.
On 4/23/2010 10:25 AM, Brian J. France wrote: On Apr 23, 2010, at 10:08 AM, William A. Rowe Jr. wrote: On 4/23/2010 9:03 AM, Brian J. France wrote: You can build a module that is able to insert a trailer by adding a filter and ap_hook_create_request call. But doesn't this defeat the

Re: svn commit: r937378 - in /httpd/mod_fcgid/trunk: CHANGES-FCGID docs/manual/mod/mod_fcgid.xml modules/fcgid/mod_fcgid.c

2010-04-23 Thread Jeff Trawick
On Fri, Apr 23, 2010 at 1:04 PM, traw...@apache.org wrote: Author: trawick Date: Fri Apr 23 17:04:40 2010 New Revision: 937378 URL: http://svn.apache.org/viewvc?rev=937378view=rev Log: FcgidPassHeader now maps header names to environment variable names in the usual manner: The header name

Re: mod_fcgid: process PID graceful kill fail, sending SIGKILL

2010-04-23 Thread Jeff Trawick
On Tue, Apr 20, 2010 at 1:36 AM, Weedy weedy2...@gmail.com wrote: For the life of me I can't seem to find a way to make mod_fcgid wait longer. I don't mean FcgidMaxRequestsPerProcess or FcgidProcessLifeTime. I mean what controls the time between the signal -2/-11/-15/whatever and the -9. Any

Re: mod_fcgid: process PID graceful kill fail, sending SIGKILL

2010-04-23 Thread Jeff Trawick
On Fri, Apr 23, 2010 at 3:33 PM, Jeff Trawick traw...@gmail.com wrote: Keeping zombies cleaned up requires a small scan interval, but that can keep some scripts from having adequate time to terminate before getting KILL-ed. whoops, ignore that; I'm getting scans confused :)

Re: After-request hooks or asychronous modules

2010-04-23 Thread Libo Song
Hi Samuel, I am very curious about your solution. Have you satisfied with what you are doing. I am also facing a problem to asynchronous do some job related to the served page, but the served page do not rely on what I am doing. Would you please share your experience? Thanks, Libo On Sat, Feb