View Single Post
Old 01-26-2005, 07:29 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote