Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2010-08-23 Thread Eric Covener
On Tue, Dec 8, 2009 at 1:49 PM, Nick Kew n...@webthing.com wrote: Rich Bowen wrote: If I file an issue on Apache's Bugzilla, will this be considered a bug? Please do submit it, but perhaps as a documentation bug? I'll try to remember to add a mention of this to the documentation, but a

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-08 Thread Francis GALIEGUE
On Fri, Dec 4, 2009 at 14:39, Eric Covener cove...@gmail.com wrote: [...] I think Apache is simulating perls $, and I think it's on purpose.  Seems pretty unwise. That is definitely the case. If I file an issue on Apache's Bugzilla, will this be considered a bug? -- Francis Galiegue

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-08 Thread Eric Covener
On Tue, Dec 8, 2009 at 8:20 AM, Francis GALIEGUE f...@one2team.com wrote: On Fri, Dec 4, 2009 at 14:39, Eric Covener cove...@gmail.com wrote: [...] I think Apache is simulating perls $, and I think it's on purpose.  Seems pretty unwise. That is definitely the case. If I file an issue on

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-08 Thread Rich Bowen
On Dec 8, 2009, at 08:20 , Francis GALIEGUE wrote: On Fri, Dec 4, 2009 at 14:39, Eric Covener cove...@gmail.com wrote: [...] I think Apache is simulating perls $, and I think it's on purpose. Seems pretty unwise. That is definitely the case. If I file an issue on Apache's Bugzilla,

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-08 Thread Nick Kew
Rich Bowen wrote: If I file an issue on Apache's Bugzilla, will this be considered a bug? Please do submit it, but perhaps as a documentation bug? I'll try to remember to add a mention of this to the documentation, but a bugzilla ticket will help us remember. Is this really an Apache docs

[us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Francis GALIEGUE
On Fri, Dec 4, 2009 at 09:55, Francis GALIEGUE f...@one2team.com wrote: Hello everyone, I've had the request to redirect a particular URI, say /foo or /foo/ to http://some.external.site/?var1=val1var2=val2var3=val3. The Apache server version is 2.0.52 used on RHEL 4.x. I have tested with

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread André Warnier
Francis GALIEGUE wrote: On Fri, Dec 4, 2009 at 09:55, Francis GALIEGUE f...@one2team.com wrote: Hello everyone, I've had the request to redirect a particular URI, say /foo or /foo/ to http://some.external.site/?var1=val1var2=val2var3=val3. The Apache server version is 2.0.52 used on RHEL 4.x.

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Francis GALIEGUE
On Fri, Dec 4, 2009 at 14:07, André Warnier a...@ice-sa.com wrote: [...] First, I believe that one mistake is to include the trailing question mark into the URL which you redirect. In http://my.server.com/foo/?var1=val1... The ? is not actually part of the URI. It is a separator between the

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Eric Covener
On 12/4/09, Francis GALIEGUE f...@one2team.com wrote: The problem I have is with the being systematically understood by the right size of regexes to mean the whole thing matched by the matching left regex. While this is a common regex idiom in basic regexes (sed acts this way for

Re: [us...@httpd] Re: Ampersand extends to the left part of regexes with RewriteRule, RedirectMatch and SetEnvIf: is that expected?

2009-12-04 Thread Eric Covener
On 12/4/09, Eric Covener cove...@gmail.com wrote: On 12/4/09, Francis GALIEGUE f...@one2team.com wrote: The problem I have is with the being systematically understood by the right size of regexes to mean the whole thing matched by the matching left regex. While this is a common