httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] Need a conditional rewrite/redirect rule
Date Thu, 07 Feb 2019 22:09:28 GMT
On Thu, Feb 7, 2019 at 11:06 PM Eric Covener <covener@gmail.com> wrote:
>
> Here's an example w/ "negative lookahead" in PCRE.
>
> RedirectMatch permanent ^/foo/bar/(?!file.html$)
> http://www.example.com/foo/bar/file.html

Yeah, or that :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message