Results 1 to 2 of 2

Thread: Can't setup custom error pages
      
   

  1. #1
    Joeri007 is offline Private
    Join Date
    Mar 2010
    Location
    Belgium
    Posts
    4

    Default Can't setup custom error pages

    I have created 4 different error pages:
    wwww.sunenco.be/errorpage404.html
    www.sunenco.be/errorpage400.html
    www.sunenco.be/errorpage403.html
    www.sunenco.be/errorpage500.html

    I have made a .htaccess file like this:
    ErrorDocument 400/errorpage400.html
    ErrorDocument 403/errorpage403.html
    ErrorDocument 404/errorpage404.html
    ErrorDocument 500/errorpage500.html

    Why don't these pages show up when you use a non existing URL for instance.
    I followed all the details explained in the following thread:
    http://www.vodahost.com/vodatalk/blu...rror-page.html

    Can anyone tell where i'm going wrong,all I get when I mistype a URL is this:
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@sunenco.be and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

  2. #2
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default Re: Can't setup custom error pages

    Looking at your htaccess file I believe that you need an additional space.
    ErrorDocument 500/errorpage500.html
    ErrorDocument 500 /errorpage500.html
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

Thread Information

Users Browsing this Thread

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

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49