Comparing values in RewriteCond directive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
: users@xxxxxxxxxxxxxxxx
Subject
: Comparing values in RewriteCond directive
From
: alchemist vk <alchemist.vk@xxxxxxxxx>
Date
: Fri, 12 Oct 2018 08:39:48 +0530
Reply-to
: users@xxxxxxxxxxxxxxxx
Hi All,
I have one test uri '
http://example.com/test1.test2
'. How I can fetch uri components test1 and test2 and compare them via RewriteCond directive?..
I tried like below:
RewriteCond {REQUEST_URI}
http://example.com/(.*)\.(.*)
RewriteCond $1!=$2
But getting syntax error saying $1!=$2 is not proper syntax..
With Regards,
Venkatesh
Follow-Ups
:
Re: Comparing values in RewriteCond directive
From:
alchemist vk
Prev by Date:
Re: 1810605
Next by Date:
Reverse proxy not sending certificate
Previous by thread:
1810605
Next by thread:
Re: Comparing values in RewriteCond directive
Index(es):
Date
Thread
[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]