Try this:

<LocationMatch "(?i)/IE">

Notice that the "(?i)" was moved to the left of the "/".  I've been
working in Perl today and I think I was reading the "/" as the
beginning of the regex.  It's not.  It's part of the pattern to be
matched.  Sorry about that.

On 3/13/07, Schultz, Gary - COMM <[EMAIL PROTECTED]> wrote:
Still not working. Regular expressions are working for other directives such
RedirectMatch. I'm running Apache 2.2.4 on Windows XP and 2003 Server if
that makes a difference.

-----Original Message-----
From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 13, 2007 11:40 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] LocationMatch expression syntax

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 <[EMAIL PROTECTED]> wrote:
> /(?i)IE/ didn't work.
>
> I also tried <LocationMatch "/[iI][eE]/"> which didn't work.
>
>
> -----Original Message-----
> From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 13, 2007 10:58 AM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to