Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on "Turning" your website off? in the Shared & Semi-Dedicated forum
So, I run a number of small websites on my server space, across different directories/subdomains, etc, etc. Occasionally (like now), I want to make a ...

  1. #1
    JPC Member
    Join Date
    Jul 2002
    Posts
    47

    "Turning" your website off?

    So, I run a number of small websites on my server space, across different directories/subdomains, etc, etc. Occasionally (like now), I want to make a few db and php updates to files/structures that almost all of my website relies on (a few site engines for php), and I'm wondering if there's an easy way to 'shut down' access to everything for the time being. I'm looking in the way of an Apache redirect of some sort, but it needs to be able to catch ALL page requests, regardless of directory.

    Thanks in advance!

  2. #2
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  3. #3
    JasonM
    Guest
    I just posted something similar in another thread. mod_rewrite is your friend :-)

    In a .htaccess file:

    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*)$ /underconstruction.html


    that will forward everything to /underconstruction.html on your server. You can leave a message for your visitors there.

  4. #4
    JPC Member
    Join Date
    Jul 2002
    Posts
    47
    Great! Thanks to both of you . I figured there might be the answer in another thread, but I couldn't think of a good way (read: query string) to search the forums for it

  5. #5
    JPC Member
    Join Date
    May 2004
    Posts
    9

    Lightbulb


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •