Re: Need a conditional rewrite/redirect rule
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Need a conditional rewrite/redirect rule
- From: Yann Ylavic <ylavic.dev@xxxxxxxxx>
- Date: Thu, 7 Feb 2019 23:09:28 +0100
- In-reply-to: <CALK=YjNv+2Ni36KUnUUhgCh7rWjfTex7xtj=hpf1Lbky4N2v1Q@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
On Thu, Feb 7, 2019 at 11:06 PM Eric Covener <covener@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]