The .htaccess file is a configuration file for the Apache web server, that can be used to redirect requests from specific IP addresses to another resources. In this short note i will show how to redirect requests from one or several IP addresses via .htaccess file to a specific web page or another website.
htaccess
.htaccess – Deny IP & Block IP Range
The .htaccess file is a configuration file for the Apache web server, that can be used to restrict access to a web-site from a specific IP or a range of IP addresses. In this note i will show how to deny access from one or several IP addresses via .htaccess file and how to block […]
Redirect Site to Maintenance Page using Apache and HTAccess
In this article you will find how to redirect all traffic and all visitors of your site to a maintenance page during site updates. I’ll show how to create a maintenance page, how to put the site into a maintenance mode and how to bring it back online without restarting Apache. You’ll learn how to […]