Shane Rutter BlogMy place on the web

  • Home
  • About Me
  • Contact Me
  • Privacy Policy

htaccess: Block bad bots for security purposes

  • 31st July 2018
  • /
  • Apache, Security
  • /
  • No Comments

Block unwanted bad bots, scrapers and default CLI user agents commonly used by scrapers and bots, using Apache and .htaccess.
Continue reading...

  • apache bot bots htaccess security

htaccess: HTTP to HTTPS redirect

  • 18th July 2018
  • /
  • Apache, General, Hints, Tips & Techniques, Security
  • /
  • No Comments

Redirect HTTP to HTTPS or Non-HTTPS to HTTPS to secure your website traffic with SSL encryption. Keep the internet secure and your visitors happy.
Continue reading...

  • apache certificate htaccess http https redirect secure security ssl

Redirect requests for files & folders which dont exist with .htaccess

  • 8th February 2012
  • /
  • The Void
  • /
  • No Comments

Normally if a visitor requests a file or folder which doesn’t exist your web server will respond with a 404 file not found error message, this isn’t the best looking error message and so it’s common to setup a redirect so instead of the web server showing the default page you can use a custom
Continue reading...

  • apache howto htaccess
Shane Rutter
Copyright 2025 © Shane Rutter