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: Is There A Way To Disable SEARCH?
Date Sun, 03 Apr 2005 15:58:48 GMT
> Is there a
> way I can set Apache to just ignore all SEARCH commands (all I really
> need is GET and POST)?  Just trying to keep my logs from getting flooded
> with garbage data.  Thanks.

<Limit SEARCH>
  Order deny,allow
  Deny from all
  Allow from none
</Limit>

And possibly set an environment variable which can be used to avoid
logging, something like 'SetEnvIf Request_Method SEARCH NoSearchLogging',
and 'CustomLog file format env=!NoSearchLogging'

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