sross
07-30-2010, 10:51 PM
Hi guys, i tried this htaccess in my root:
RewriteEngine On
# Put your own IP in the next line, so you don't get the stopper, but
# everyone else does
RewriteCond %{REMOTE_ADDR} !^1\.1\.1\.1$
RewriteCond %{REQUEST_URI} !^/stopper.html$
RewriteRule . /stopper.html [L]
And it worked for straight calls to my domain name, but if someone typed in /forum manually it let them right in instead of redirecting. Maybe this is because i have vbseo and /forum has an htaccess in it that by passes the root htaccess?
Any ideas how to 100% block all traffic to my site + redirect + only let a couple specific ip's through? I was supposed to have this splash page up a couple hours ago now am sweating bullets. I want the splash page because it has upgrade status and a chatroom.
Thanks!
RewriteEngine On
# Put your own IP in the next line, so you don't get the stopper, but
# everyone else does
RewriteCond %{REMOTE_ADDR} !^1\.1\.1\.1$
RewriteCond %{REQUEST_URI} !^/stopper.html$
RewriteRule . /stopper.html [L]
And it worked for straight calls to my domain name, but if someone typed in /forum manually it let them right in instead of redirecting. Maybe this is because i have vbseo and /forum has an htaccess in it that by passes the root htaccess?
Any ideas how to 100% block all traffic to my site + redirect + only let a couple specific ip's through? I was supposed to have this splash page up a couple hours ago now am sweating bullets. I want the splash page because it has upgrade status and a chatroom.
Thanks!