hoangweb
4/29/2016 - 7:54 AM

.htaccess- maintenance

.htaccess- maintenance

<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteCond %{REMOTE_ADDR} !^58.187.21.148
 RewriteCond %{REMOTE_ADDR} !^42.113.155.12
RewriteCond %{REQUEST_URI} !^/coming-soon/index\.html$
RewriteCond %{REQUEST_URI} !^/coming-soon/$
 RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|css|js) [NC]
 RewriteRule ^(.*)$ http://hoangweb.com/coming-soon/ [R=302,L]
</IfModule>
ErrorDocument 403 http://hoangweb.com
Order deny,allow
Deny from all