Home › Forums › Other › Rewrite Rule Link Issue › Reply To: Rewrite Rule Link Issue
September 27, 2013 at 9:58 am
#151494
__
Participant
If
RewriteCond %{REMOTE_HOST} !^***\.***\.**\.***
then why does it matter which page you’re requesting? Wouldn’t you like to be able to see the entire site while you’re in testing mode?
, – – – – – – – – – – – – – – – – – – – – – – – – –
BTW your “solution”
RewriteCond %{REQUEST_URI} ^/test3
RewriteRule .+ - [L]
will allow anyone to view the /test3
folder while your site is in “maintenance mode,” not just you.
, – – – – – – – – – – – – – – – – – – – – – – – – –
Also, this
RewriteCond %{REQUEST_FILENAME} !-f
makes this
RewriteCond %{REQUEST_URI} !/maintenance/index.html$
redundant (since index.html
is, presumably, a file).