RewriteEngine On

RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*)$ $1.php [L]

#ErrorDocument 503 https://secure.iwl.world/maintenance.html
#RewriteCond %{REQUEST_URI} !^/css/
#RewriteCond %{REQUEST_URI} !^/js/
#RewriteCond %{REQUEST_URI} !^/img/
#RewriteCond %{REQUEST_URI} !^/maintenance
##RewriteCond %{REMOTE_ADDR} !^(180\.167\.5\.38|121\.58\.255\.132|121\.58\.255\.29|211\.75\.187\.157|116\.228\.139\.34|116\.228\.133\.234)$
#RewriteCond %{REMOTE_ADDR} !^(180\.167\.5\.38|116\.228\.139\.34|116\.228\.133\.234|121\.58\.255\.132|11\.75\.187\.157|219\.90\.127\.39|219\.90\.127\.42|185\.147\.172\.132|185\.147\.174\.132)$
#RewriteRule ^.*$ - [R=503,L]

order allow,deny
allow from all
deny from 170.187.240.158
