Just as GET and POST are server requests, SEARCH is another such request. It has nothing to do with PhpDig, as PhpDig only makes HEAD or GET requests. Other possible requests can include the following:
OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH, SUBSCRIBE, UNSUBSCRIBE, POLL, BDELETE, BCOPY, BMOVE, BPROPPATCH, BPROPFIND
If you have mod_rewrite and htaccess abilities, you can stick the following in a .htaccess file in web root to send a 403 Forbidden response to extraneous requests:
Code:
# start .htaccess file
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_METHOD} !^(GET|HEAD|POST)
RewriteRule ^.* - [F]
# end .htaccess file