Greetings,
I am attempting to write a apache 2.2 module that has per
dir/location directives. I need to examine all the per dir/location
module_config's for this mod.
Can I do something like ...
for (server = base_server; server; server = server-next) {
conf =
While working on some UDP-related issues a while back, I looked into
this a bit. IIRC, I found that there is no way to do this (and
intentionally so) from the conn_rec. The socket itself is accessible,
but not in the public API (and possibly not in a platform independent
manner either).
Issac
SRP,
If I am correct, that will work if you only need to look at only
server/vhost cfg structures (won't work for directory, location, files, or
.htaccess directives).
My recommendation is to log (or otherwise write to a file or multiple
files) all of your dir_cfg data either when you do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi group!
For mod_auth_openpgp I need to read the POST body. During my research
(googling, archives of this
list, apache.org, etc) I discovered three methods so far. I would like your
opinions on the safest
one, fastest one, if should DECHUNK,
David Wortham wrote:
SRP,
If I am correct, that will work if you only need to look at only
server/vhost cfg structures (won't work for directory, location,
files, or
.htaccess directives).
I believe that is correct. When I created a logging module to check
which hooks were being called
SRP,
I am dealing with the same issue (debugging dir_cfg data) today in fact,
so you may be able to benefit from my debugging method.
From my experience: you are correct about the timing involved in the
creation of dir_cfgs (they are created and merged at the beginning of a
request).
If
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Graham Dumpleton wrote:
Again, this is my understanding from studying code and reading
different bits and pieces, so someone correct me if I am wrong.
Confirmation from someone that this is correct would also be
appreciated.
Graham:
On 13/04/07, Graham Dumpleton [EMAIL PROTECTED] wrote:
On 13/04/07, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi group!
For mod_auth_openpgp I need to read the POST body. During my research
(googling, archives of this
list,
On 4/9/07, Nick Kew [EMAIL PROTECTED] wrote:
On Mon, 9 Apr 2007 11:08:55 -0400
Jeff Trawick [EMAIL PROTECTED] wrote:
On 4/5/07, Nick Kew [EMAIL PROTECTED] wrote:
On Thu, 5 Apr 2007 10:04:19 +0100
Joe Orton [EMAIL PROTECTED] wrote:
I agree that the intended behaviour of the original
On Thu, Apr 12, 2007 at 10:05:06AM -0400, Jeff Trawick wrote:
I wonder why Error in ProxyErrorOverride doesn't match the meaning
of ap_is_HTTP_ERROR(), as in the attached patch (with doc).
Great, +1
1xx isn't something the user should see/react to either.
Forwarding 1xx responses is actually
On 04/12/2007 05:07 PM, [EMAIL PROTECTED] wrote:
Author: trawick
Date: Thu Apr 12 08:07:11 2007
New Revision: 527969
URL: http://svn.apache.org/viewvc?view=revrev=527969
Log:
HTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses alone. Only
processing of error responses (4xx, 5xx)
Here's what I came up with... of course, it falls apart as soon as you have
more than one protocol on the same port (maybe with different bind addresses
or whatever), but doing that is a bad idea anyways, isn't it? :-)
static const char* what_protocol_am_i(conn_rec* c) {
apr_port_t port =
On 4/12/07, Ruediger Pluem [EMAIL PROTECTED] wrote:
On 04/12/2007 05:07 PM, [EMAIL PROTECTED] wrote:
Author: trawick
Date: Thu Apr 12 08:07:11 2007
New Revision: 527969
URL: http://svn.apache.org/viewvc?view=revrev=527969
Log:
HTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses
Given a connection record, how do I determine what listener originally
accepted the connection? I've dug around the API documentation a bit and
can't find a clear path back to my listener or a protocol from a connection.
A connection should really know what protocol it's supposed to speak,
On Apr 11, 2007, at 3:34 PM, Ruediger Pluem wrote:
On 04/11/2007 06:42 PM, Filipe wrote:
I'm trying to use apache to proxy a push application, using chunked
transfer
encoding. The problem is that the mod_proxy buffers the server
response
internally and only sends the data to the client
On Apr 12, 2007, at 10:16 AM, Joe Orton wrote:
On Thu, Apr 12, 2007 at 10:05:06AM -0400, Jeff Trawick wrote:
I wonder why Error in ProxyErrorOverride doesn't match the meaning
of ap_is_HTTP_ERROR(), as in the attached patch (with doc).
Great, +1
1xx isn't something the user should
On 13/04/07, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi group!
For mod_auth_openpgp I need to read the POST body. During my research
(googling, archives of this
list, apache.org, etc) I discovered three methods so far. I would like
On 04/12/2007 10:20 PM, Jeff Trawick wrote:
On 4/12/07, Ruediger Pluem [EMAIL PROTECTED] wrote:
On 04/12/2007 05:07 PM, [EMAIL PROTECTED] wrote:
Author: trawick
Date: Thu Apr 12 08:07:11 2007
New Revision: 527969
URL: http://svn.apache.org/viewvc?view=revrev=527969
Log:
HTTP
Jim Jagielski wrote:
This is only fixed in trunk so far. See
http://issues.apache.org/bugzilla/show_bug.cgi?id=41056
and
http://svn.apache.org/viewvc?view=revrevision=480135
Hmmm. Looks like a backport candidate... I'll likely
do some testing and propose if it works :)
I have another
19 matches
Mail list logo