Apache htaccess; Block TalkTalk

Apache's .htaccess or httpd.conf file can be configured to block all TalkTalk users from your web site, returning a 403 (access denied) message which you can customise if required.

This list includes ex-AOL UK address ranges, including "AOL International Operations, Europe".

To install, cut/paste the directives into your web server's .htaccess or httpd.conf file (nb, use these at your own risk). See details below.

Download the Directives Here

Download TalkTalk htaccess Deny Directives.

Installation Notes

Note your server configuration file (usually httpd.conf) will need the directive "AllowOverride All" or "AllowOverride Limit" to permit .htaccess files to enforce Deny directives.

<Directory /home/apache/html/>
  AllowOverride All
  .... etc ....
</Directory>
			

Alternatively, the Deny directives can be pasted into your server config file (usually httpd.conf). Remember to restart your server.

<Directory /home/apache/html/>
  Deny from 62.5.0.0/17
  Deny from 62.6.0.0/15
  .... etc ....
</Directory>
			

Custom Warning Pages

To create a custom access denied message, use the "ErrorDocument" directive in your .htaccess or httpd.conf file.

<Directory /home/apache/html/>
ErrorDocument 403 /spywareblocked.htm
  .... etc ....
</Directory>

Acknowlegements

This list was created with the help of Gordon.

 

 

return to the web masters page 

home

 


dephormation add on created and © copyright Pete John, March 2008.

Acknowledgements; thanks to regular readers of virgin media newsgroups esp Skie (who suggested a Firefox add on), Mike, Annie, Mike, Artnada, Ian, Chris, Oliver, Dougie, Jono, Big Geordie, Eva, Charles, Scruples, Sammy, Rob and so many other smart people who contributed support, ideas, testing, and feedback.

hosting by cyberprog.net (many thanks).

Cyberprog New Media provide quality Windows hosting, with the latest technologies

 RIPA NOTICE: NO CONSENT IS GIVEN FOR INTERCEPTION OF PAGE TRANSMISSION