Hi,

I'm doing some redesign and maintenance of my site and I wanna put it in "maintenance mode" using .htaccess

But the actual "maintenance version" of the site got 3 pages...

So, I wanna redirect everything except those pages to the root of the domain and exclude my own IP from it...

...would something like this do? Or am I way off here?

Code:
Options +FollowSymlinks
RewriteEngine on

#urls to exclude
RewriteCond %{REQUEST_URI} !/url-to-exclude-1$
RewriteCond %{REQUEST_URI} !/url-to-exclude-2$

#ip to allow access
RewriteCond %{REMOTE_HOST} !^11\.11\.11\.11

#send to root
RewriteRule $ /http://www.mydomain.com [R=302,L]
Thanks for any pointers!