Results 1 to 2 of 2

Thread: .htacess and dealing with 5++ errors

  1. #1
    Join Date
    Mar 2008

    .htacess and dealing with 5++ errors

    Howdy, I have a question regards my website. Next week 30 000 users are going to hit my website at once and it will timeout. I want to put a message asking users to come back later and explain the problem (too many users at once). My site is a PHP/mySQL site on Linuz/Apache. I have a .htaccess file that usually deals with errors and I wass wondering if adding to this would cover me for 5++ errors (like 503, 509).

    For example:

    ErrorDocument 400 https://www.mysite.co.uk/page-not-found.php
    ErrorDocument 403 https://www.mysite.co.uk/page-not-found.php
    ErrorDocument 404 https://www.mysite.co.uk/page-not-found.php
    ErrorDocument 500 https://www.mysite.co.uk/server_down.html
    ErrorDocument 501 https://www.mysite.co.uk/server_down.html
    ErrorDocument 503 https://www.mysite.co.uk/server_down.html
    ErrorDocument 509 https://www.mysite.co.uk/server_down.html

    I'm confused that if mysite is downdue to demand can I redirect the user to a page that (although light in size) is actually on that domain (i.e. www.mysite.co.uk)

    Is this the right thing to do or do I need a subdomain?


  2. #2
    Join Date
    Apr 2003
    More bandwidth is needed unless this is a temporary peak in demand
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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