You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2009/12/04 14:04:53 UTC

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

On 12/4/09, Francis GALIEGUE <fg...@one2team.com> wrote:
> I have tried to backslash it

Backslash worked for me in the RedirectMatch test.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Francis GALIEGUE <fg...@one2team.com>.
On Fri, Dec 4, 2009 at 14:04, Eric Covener <co...@gmail.com> wrote:
> On 12/4/09, Francis GALIEGUE <fg...@one2team.com> wrote:
>> I have tried to backslash it
>
> Backslash worked for me in the RedirectMatch test.
>

Well, it does indeed... During my test period, I forgot that I had an
ExpiresDefault set to "access plus 1 month" in the test vhost...

So, yes, escaping the & with a backslash does work indeed, and I've
tested with the three configurations mentioned: the backslash works
each time.

-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org