Use web interface to modify htaccess file
Posted
by justinl
on Stack Overflow
See other posts from Stack Overflow
or by justinl
Published on 2009-09-09T00:49:23Z
Indexed on
2010/03/14
0:45 UTC
Read the original article
Hit count: 344
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