httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schultz, Gary - COMM" <GSchu...@commerce.state.wi.us>
Subject RE: [users@httpd] LocationMatch expression syntax
Date Tue, 13 Mar 2007 17:10:04 GMT
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:r.d.wilkerson@gmail.com] 
Sent: Tuesday, March 13, 2007 11:40 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] 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 <GSchultz@commerce.state.wi.us> 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@gmail.com]
> Sent: Tuesday, March 13, 2007 10:58 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] 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@commerce.state.wi.us> 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@commerce.state.wi.us
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

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

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


Mime
View raw message