close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Site maintenance work

Thread began 7/27/2012 10:25 am by bill3786 | Last modified 8/08/2012 1:43 pm by bill3786 | 3429 views | 15 replies

bill3786

Successfully setup the "site down for maintenance" system described by the-stickman in post 3. I'm using this system because I only have a dynamic ip address. Here it is again:

using-htaccess-to-suspend-an-entire-site-while-still-working-on-it/

After using firecookie to set up the cookie, the site is visible in firefox. Viewing in any other browser correctly shows a maintenance page. When maintenance is finished I just comment out the two lines below.

The only problem is, I cant get the RewriteRule to show my custom maintenance page, it always shows the default (horrible) page. Tried a number of permutations of the Rule line but always the default shows.

These are the two lines in the htaccess file

RewriteCond %{HTTP_COOKIE} !^.*secret-cookie.*$ [NC]
RewriteRule .* maintenance-page.html [NC,L,R=503]

Anybody know why this is happening?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...