PDA

View Full Version : Strange things on my apache log access.


dawn
01-26-2005, 06:54 AM
Hi everyone !

Running PHP Dig on my local Apache.

Her is what i get when a search querie :
GET /search.php?template_demo=simple.html&browse=1&query_string=etc, etc,…

But here is what i got this morning :
83.195.xxx.xx - - [26/Jan/2005:12:51:51 +0100] "SEARCH / ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ± ±   

What is that ? ?
Is that some sort of hacking attempt ? ?
:what:
Thanks for your answers!

Charter
01-26-2005, 07:29 AM
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:


# start .htaccess file
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_METHOD} !^(GET|HEAD|POST)
RewriteRule ^.* - [F]
# end .htaccess file