The solution to a previous question (How to implement “Maintenance Mode” on already established website), was to use a modified .htaccess to deny IP addresses.
What is the best way to use a web interface to modify an .htaccess file? What I want is a way for an admin to log in to the admin area and switch Maintenance Mode on and off using a basic html form.
I'm using PHP and I'm already using an .htaccess file for a handful of ReWriting.
© Stack Overflow or respective owner