I have the following directive in my Apache httpd.conf
:
<LimitExcept OPTIONS PROPFIND REPORT>
deny from all
</LimitExcept>
OPTIONS
and PROPFIND
work as expected, but REPORT
returns 400: Bad Request
. Remove the LimitExcept
alltogether and everything works as expected.
Any ideas on why this might be?
(Please see my question here to see what I'm trying to do).
The access log shows:
192.168.161.1 - - [21/Jun/2010:08:42:26 +1000] "REPORT /logs/MV101Apps/!svn/bc/7699/MyApp/MyApps.edp HTTP/1.1" 400 101
The error log shows:
[Mon Jun 21 08:42:26 2010] [error] [client 192.168.161.1] client denied by server configuration: C:/Program Files/CollabNet/Subversion Server/httpd/htdocs/logs
Update
Ok, a quick inspection reveals that either with or without the <LimitExcept>
the REPORT
URL stays the same. This is what the log looks like without the <LimitExcept>
(everything else in the config stayed the same):
192.168.161.1 - - [22/Jun/2010:21:03:42 +1000] "REPORT /logs/MV101Apps/!svn/bc/7821/MyApp/MyApps.edp HTTP/1.1" 200 115
(note that that URL is a Subversion URL as generated by the command svn log
- I'm not the one adding the !svn
to it)
The complete VirutalHost for /logs/
looks like this:
<Location /logs/>
DAV svn
SVNParentPath C:\SVN
<LimitExcept OPTIONS PROPFIND REPORT>
deny from all
</LimitExcept>
</Location>