Re: [mp2] Handler Order

2004-11-03 Thread Joe Orton
On Tue, Nov 02, 2004 at 08:37:42PM -0500, Geoffrey Young wrote: > > > Did you try #include'ing mod_ssl.h to pick up the optional function > > declarations rather than copy'n'pasting them? It should work OK with > > recent 2.0 releases. ... > /apache/2.0.52/ssl/perl-5.8.5/include/mod_ssl.h:91:17:

Re: [mp2] Handler Order

2004-11-02 Thread Geoffrey Young
> Did you try #include'ing mod_ssl.h to pick up the optional function > declarations rather than copy'n'pasting them? It should work OK with > recent 2.0 releases. just putting in # include "mod_ssl.h" gives cc -c -I/apache/2.0.52/ssl/perl-5.8.5/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HA

Re: [mp2] Handler Order

2004-11-02 Thread Geoffrey Young
Joe Orton wrote: > On Tue, Nov 02, 2004 at 04:49:55PM -0500, Geoffrey Young wrote: > >>I've been meaning to take care of this since you mentioned it. >> >>http://www.modperlcookbook.org/~geoff/modules/Apache-SSLLookup-2.00_01.tar.gz >> >>I'll probably move it to cpan in the next day or so. > >

Re: [mp2] Handler Order

2004-11-02 Thread Joe Orton
On Tue, Nov 02, 2004 at 04:49:55PM -0500, Geoffrey Young wrote: > I've been meaning to take care of this since you mentioned it. > > http://www.modperlcookbook.org/~geoff/modules/Apache-SSLLookup-2.00_01.tar.gz > > I'll probably move it to cpan in the next day or so. Very nice! Now can I just bo

Re: [mp2] Handler Order

2004-11-02 Thread Geoffrey Young
> The best thing to do is to use the ssl_var_lookup hook which the C > interface to mod_ssl exports, or better yet, if using 2.0.51 or later, > the ssl_is_https hook. This means you don't have to use "SSLOptions > +StdEnvVars" to get SSL variables via subprocess_env, which adds a lot > of overhea

Re: [mp2] Handler Order

2004-10-08 Thread Joe Orton
On Fri, Oct 08, 2004 at 02:42:49PM +0200, Torsten FÃrtsch wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I know one can specify the handler invocation order of the request phases. But > how to do it? > > My problem is, I want to know if a request came in over http or https

Re: [mp2] Handler Order

2004-10-08 Thread Geoffrey Young
Torsten Förtsch wrote: > Hi, > > I know one can specify the handler invocation order of the request phases. But > how to do it? > > My problem is, I want to know if a request came in over http or https in the > fixup phase. With mp1 I had configured by the LoadModule order that a > mod_perl

[mp2] Handler Order

2004-10-08 Thread Torsten Förtsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I know one can specify the handler invocation order of the request phases. But how to do it? My problem is, I want to know if a request came in over http or https in the fixup phase. With mp1 I had configured by the LoadModule order that a mod