Re: [mod-security-users] LocationMatch
Brought to you by:
victorhora,
zimmerletw
|
From: Tom A. <tan...@oa...> - 2006-02-23 22:07:06
|
Diego Pellegrino wrote: > Ok, > > I read LocationMatch documentation, but i couldn't find any easy and > practical way of write the location i tryied this way: > > /pelo/ > > <LocationMatch /[pP][eE][lL][oO]/> > secfilter hola > </LocationMatch> > > it works fine but it's not easy to write, anyone know a better way to do > this? Try RewriteRule /pelo/(.*) /pelo/$1 [NC] or Alias /PELO /pelo or AliasMatch /PELO/(.*) /pelo/$1 or Redirect permanent /PELO http://mysite/pelo Check out the mod_rewrite and mod_alias docs. Tom |