Dear Experts,
I have a directory named 'foo' in which I have a subdirectory named
'bar' and an '.htaccess' file in which I need to specify that all
methods expect GET, HEAD, OPTIONS, and PROPFIND on all resources in the
'bar' subdirectory should result in 405 Method Not Allowed response. The
directory layout is as follows:
foo
.htaccess
bar
...
I cannot have .htaccess in 'bar' and thus cannot specify <LimitExcept>
for the 'bar' directory, plus <Limit> and <LimitExcept> both result in
403 Forbidden rather than 405 Method Not Allowed. Am I to use
mod_rewrite rewrites with the R=405 flag? If so, can I somehow add the
list of allowed methods to the Allow header in 405 Method Not Allowed
responses as required by RFC 2616 section 10.4.6?
The ultimate goal here is to make the 'bar' subdirectory of the
WebDAV-enabled 'foo' directory read-only for everyone.
Thanks,
Vasiliy
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]