RewriteEngine on RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|bmp|css|js)$ RewriteRule (.*) closed.html