Java Agents In My Web Logs

If you investiage your web logs you may notice from time to time that an unusual entry is present.

'Java/1.5.0_06'

It is common practice these days for spammers and content leechers on the Internet to use agents such as "Java/1.5.0_06" to essentially steal content from your site in order to boost their own website rankings above yours.

Fortunately we have developed a small amount of code that effectively blocks these automated leeching agents from your website.

Firstly you need to create an .htaccess file

Secondly you need to add the following code 'as is'

#block java leechers
RewriteCond %{HTTP_USER_AGENT} ^java
RewriteCond %{HTTP_USER_AGENT} ^Java
RewriteRule .* - [F]

If you visit your site and get an Internal Server Error please recheck the syntax and/or contact our support for further details.