How to Force Apache To Show a HTTP-410 Gone Status Code

Posted on in Categories , , , , last updated December 14, 2015

I removed from my domain. But, it is still being crawled by Google/Yahoo and many other bots. How do I return a HTTP-410 gone error i.e. tell these bots that resource permanently does not exist using Apache HTTPD server on a CentOS/RHEL/Fedora/Ubuntu/Debian and Unix-like operating system?

Apache prevent hot linking or leeching of images using mod_rewrite howto

Posted on in Categories , , , , , , , , , , , last updated October 7, 2008

My site hosts lots of good images and other site hot links to my images from their own site. Hot linking is eating lots of my bandwidth. How do I stop lechers or prevent hotlinking under Apache web server?