What is the best way

2007-01-30 Thread Tracy12
Hi, Within a perl Authentication hanlder what is the best way to preserve the REMOTE_USER value and forward to the same but modified internal URL (without some query parameters). for eg. htttp://localhost/private?MYTEMP=4 I want to remove MYTEMP=4 and forward to htttp://localhost/private

Re: what is the best way to do ...

2006-03-09 Thread Philippe M. Chiasson
Torsten Foertsch wrote: > On Friday 24 February 2006 21:06, Philippe M. Chiasson wrote: > >>Yeah, I noticed, as it doesn't apply cleanly against svn HEAD. Could you >>checkout http://svn.apache.org/repos/asf/perl/modperl/trunk/ and generate >>your patch against it instead ? It'll make it much easi

Re: what is the best way to do ...

2006-02-24 Thread Torsten Foertsch
On Friday 24 February 2006 21:06, Philippe M. Chiasson wrote: > Yeah, I noticed, as it doesn't apply cleanly against svn HEAD. Could you > checkout http://svn.apache.org/repos/asf/perl/modperl/trunk/ and generate > your patch against it instead ? It'll make it much easier to > apply/test/review, th

Re: what is the best way to do ...

2006-02-24 Thread Philippe M. Chiasson
Torsten Foertsch wrote: > On Friday 24 February 2006 20:56, Torsten Foertsch wrote: > >>Here it is. > > I forgot, it is against 2.0.2. Yeah, I noticed, as it doesn't apply cleanly against svn HEAD. Could you checkout http://svn.apache.org/repos/asf/perl/modperl/trunk/ and generate your patch a

Re: what is the best way to do ...

2006-02-24 Thread Torsten Foertsch
On Friday 24 February 2006 20:56, Torsten Foertsch wrote: > Here it is. I forgot, it is against 2.0.2. pgp19SmkUsmLi.pgp Description: PGP signature

Re: what is the best way to do ...

2006-02-24 Thread Torsten Foertsch
On Friday 24 February 2006 12:50, Torsten Foertsch wrote: > I think I'll submit the patch later today. Here it is. The code runs for Apache 2.0 and 2.2. For Apache 2.0 when reading override options it returns simply a bitmask with all options allowed. That makes Apache 2.0 and 2.2 compatible in

Re: what is the best way to do ...

2006-02-24 Thread Torsten Foertsch
On Thursday 23 February 2006 23:41, Philippe M. Chiasson wrote: > It used to pass in NULL all the time, until someone pointed out that it was > causing a bug with certain directives. So the fix was adding the $path > argument to add_config(). That someone was me. And it used to pass "/" as path. I

Re: what is the best way to do ...

2006-02-23 Thread Philippe M. Chiasson
Torsten Foertsch wrote: > On Tuesday 21 February 2006 19:17, Geoffrey Young wrote: > >>>I need something like this: >>> >>>__END__ >>>= 2.2.0> >>>AllowOverride AuthConfig Options=Indexes,FollowSymLinks >>> >>> >>>Unfortunately, IfVersion is valid only from 2.0.56 on. Is there a >>>workaround in mo

Re: what is the best way to do ...

2006-02-21 Thread Torsten Foertsch
On Tuesday 21 February 2006 21:42, Geoffrey Young wrote: >   >      = 2.2.0> >        AllowOverride AuthConfig Options=Indexes,FollowSymLinks >       >       >        Options None >        Options Indexes FollowSymLinks >       >   >   >      # no mod_version so we can't be 2.2 or greater... >  

Re: what is the best way to do ...

2006-02-21 Thread Geoffrey Young
> This test works well with the AllowOverride line in the config for Apache 2.2 > and without it for Apache 2.0. For 2.0 the Options=... prevents httpd from > starting up. ok > > The question is, where do I apply your -defines trick, since mod_perl itself > has no t/TEST.PL (TEST.PL are only

Re: what is the best way to do ...

2006-02-21 Thread Torsten Foertsch
On Tuesday 21 February 2006 20:57, Geoffrey Young wrote: > well, I'm not sure I follow you, then.  the only real reason for wanting > what you asked for in the first place was to prevent httpd from crashing on > startup because of configurations options it doesn't understand.  if you > can start ht

Re: what is the best way to do ...

2006-02-21 Thread Geoffrey Young
> For Apache 2.0.x these functions return 255, the default value in 2.2. > Setting > Apache2::CmdParms::override_opts dies for 2.0 and the override_opts parameter > to add_config is simply ignored in 2.0. > > When adding tests I stumbled. Where do I have to add the -defines trick in > this ca

Re: what is the best way to do ...

2006-02-21 Thread Torsten Foertsch
On Tuesday 21 February 2006 19:17, Geoffrey Young wrote: > > I need something like this: > > > > __END__ > > = 2.2.0> > > AllowOverride AuthConfig Options=Indexes,FollowSymLinks > > > > > > Unfortunately, IfVersion is valid only from 2.0.56 on. Is there a > > workaround in mod_perl or AT? > > I un

Re: what is the best way to do ...

2006-02-21 Thread Geoffrey Young
Torsten Foertsch wrote: > Hi, > > I want to test a module that uses an Apache 2.2 feature. The module uses > response tests where the httpd configuration is written directly in the > test.pm. > > I need something like this: > > __END__ > = 2.2.0> > AllowOverride AuthConfig Options=Indexes,Fo

what is the best way to do ...

2006-02-21 Thread Torsten Foertsch
Hi, I want to test a module that uses an Apache 2.2 feature. The module uses response tests where the httpd configuration is written directly in the test.pm. I need something like this: __END__ = 2.2.0> AllowOverride AuthConfig Options=Indexes,FollowSymLinks Unfortunately, IfVersion is valid