Re: Rewrite query string?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 04 January 2024 at 23:18:52, Frank Gingras wrote:

> On Thu, Jan 4, 2024 at 5:03 PM Will Fatherley <wefatherley@xxxxxxxxx> wrote:
> > 
> > RewriteCond to know. Also, isn’t that the “starts with” operator, ^? What
> > if the parameter comes second? A bit verbose, but:
> >  ^.*searchword=(\w{1})[&]{0,1}.*$
> 
> You don't want to use ^.* - just use the substring match behaviour by
> removing ^.* if you want to match searchword anywhere in the value.

Same thing applies for .*$ - leave it out.


Antony.

-- 
The GPL-Violations project was formed on this day in 2004.
https://gpl-violations.org/

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
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]

  Powered by Linux