httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <sang...@xs4all.nl>
Subject [users@httpd] Re: Disabling PUT DELETE and TRACE on Apache?
Date Wed, 11 Jan 2006 11:06:27 GMT
Emmanuel E wrote:
> Hi,
>
> Is there any way to disable PUT DELETE and TRACE methods on Apache? User
> authentication is one way but then it still allows authenticated users to
> use those methods.

Untested:

RewriteCond %{REQUEST_METHOD} (PUT|DELETE|TRACE)
RewriteRule (.*) - [F]

Joost


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message