Re: [mod-security-users] lowercase and uppercase
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2006-02-23 19:21:50
|
Diego Pellegrino wrote: > I have the following question > > I am using mod_security acting as proxy with apache/linux the web server > is running on windows server. > > if i use directives like > > </location /prueba/hola.html> > secfilter chau redirect:/pepe.html > </localtion> > > when someone connect using > > http://mysite/prueba/hola.html?chau > > filter works fine. > > but if i make that request: > > http://mysite/PRUEBA/HOLA.html?chau the filter doesn't work because the > uppercase dosen't match with <location> directive. > > anyone know how to convert requests to lowercase or uppercase in an easy > way using mod_rewrite or something else? Try LocationMatch: http://httpd.apache.org/docs/2.2/mod/core.html#locationmatch. Or use multiple ModSecurity rules, chained (once you make them work ;) -- Ivan Ristic, Technical Director Thinking Stone, http://www.thinkingstone.com ModSecurity: Open source Web Application Firewall |