SeaRayNC
asked on
How can I disable WebDAV features in apache when using as a proxy
I am using Apache to proxy incoming requests and pass off requests to a portal server. In the portal logs, I am seeing
HTTP Method HEAD not accepted
HTTP Method PROPFIND not accepted
I am using mod_proxy to achieve this. Is there a way I can have apache catch these before passing off to portal server? Again, apache is only a proxy at this point, not serving up any pages.
HTTP Method HEAD not accepted
HTTP Method PROPFIND not accepted
I am using mod_proxy to achieve this. Is there a way I can have apache catch these before passing off to portal server? Again, apache is only a proxy at this point, not serving up any pages.
ASKER
how about the mod_dav_fs.so module?
is there a way just to filter out HEAD and PROPFIND methods?
If i turn off completely, what server code will be raised?
is there a way just to filter out HEAD and PROPFIND methods?
If i turn off completely, what server code will be raised?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Caterham
I think adding the LimitExcept would be preferable for me. Let me try. THis will allow us to use this functinality later, which we intend so I prefer not disabling it completely.
Will this throw a 501 to users who try to access with those methods?
I think adding the LimitExcept would be preferable for me. Let me try. THis will allow us to use this functinality later, which we intend so I prefer not disabling it completely.
Will this throw a 501 to users who try to access with those methods?
No, a 403 forbidden. If you need a 501 and you're on apache 2.2
<LimitExcept GET POST>
Redirect 501 /
</LimitExcept>
Comment out LoadModule line, which loads webdav module (mod_dav.so). Restart apache after that.