<IfModule mod_rewrite.c> RewriteEngine On # 'under construction' override RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ RewriteRule ^(.*)$ maintenance.html </IfModule>
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
'Site is under maintenance' redirect, except for you (See related posts)
Comments on this post
You need to create an account or log in to post comments to this site.
Related Posts
» 301 Permanent Redirect rule ... in apache redirect htaccess mod_rewrite
» Block Blacklisted Bandwidth ... in apache htaccess bandwidth hotlinking http_referer mod_rewrite
» Maintenance mode for apache in apache redirect htaccess
» Protect .svn directories ser... in apache sysadmin svn security subversion htaccess server config cvs protection hidden
» Protect .svn directories usi... in apache sysadmin freebsd svn security subversion htaccess config linux cvs
» Sort a list of processes by ... in ps sort more processmanagement sysadmin
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
I am a bit confused with howt address mentioned in this snippet
I have my site hosted on eatj.com . When I am upgrading new features, I want to show a maintance page to the users of my site when it is down. Is it the same that this snippet does.
If so, where to put this code in. Please help.