httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reindl Harald <>
Subject RedirectMatch: unexpected behavior within <Limit>
Date Wed, 17 May 2017 13:12:39 GMT
<Directory "/">
  <Limit POST>
   RedirectMatch 404 "(?i)\/[\.]{0,1}(cvs|svn)\/"

that above don't work and don't warn as it is normally the case where a 
"apachectl -t" clearly says "syntax error, xxx not allowed here"

don't work means RedirectMatch also applies to GET-requests which makes 
it really hard to restrict extensions like below only for normal 
webacess which is chained into "AllowMethods GET HEAD POST" but at the 
same time allow time for mod_dav_svn methods

well, and there is also no option to remove one or all global set 
"RedirectMatch" for a specific directory

RedirectMatch 404 

View raw message