Return to Snippet

Revision: 17972
at September 18, 2009 09:15 by dertimbo


Initial Code
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^321.123.321.123$
RewriteRule ^(.*)$ \http://www.example.com/maintenance.html [R=302,L]

Initial URL

                                

Initial Description
Redirects visitors of a webpage to a specific URL while allowing access for specified IP-addresses.

Initial Title
Website Maintenance Redirect

Initial Tags
redirect, htaccess

Initial Language
Apache