Re: LocationMatch expression syntax

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

 



Sounds like you've got something else happening.  As far as I can
tell, both of those should work - your own implementation is about as
simple as it gets.  Just to eliminate the obvious...you are restarting
httpd after making the change, right? :-)

Try again without the trailing slash, just to see what happens:

<LocationMatch "/(?i)IE">

On 3/13/07, Schultz, Gary - COMM <GSchultz@xxxxxxxxxxxxxxxxxxxx> wrote:
/(?i)IE/ didn't work.

I also tried <LocationMatch "/[iI][eE]/"> which didn't work.


-----Original Message-----
From: Rob Wilkerson [mailto:r.d.wilkerson@xxxxxxxxx]
Sent: Tuesday, March 13, 2007 10:58 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  LocationMatch expression syntax

I don't know if this will fly in Apache, but you could try /(?i)IE/ to
specify a case-insensitive match.

On 3/13/07, Schultz, Gary - COMM <GSchultz@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> I want to set a location match so that an URL is not case sensitive.
> The following work individually:
>
> <Location /IE/>
> <Location /ie/>
> <Location /Ie/>
> <Location /iE/>
>
> The following LocationMatch does not work:
>
> <LocationMatch "/(IE|ie|Ie|iE)/">
>
> What is the proper syntax to use for LocationMatch?
>
>
>
> Gary T. Schultz
> IT Administrator
> Wisconsin Dept. of Commerce
> 608-266-1283
> gschultz@xxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-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