SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: Custom 404???

  1. #1
    Marketing Guru ;) Johan Malmberg's Avatar
    Join Date
    Jun 2001
    Location
    Sweden
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom 404???

    Hi,

    I have a problem. I have a server at rackshack and would like to set change the 404-error page from the standard to my own. How do I do this?

  2. #2
    code addict Abstraction's Avatar
    Join Date
    Apr 2001
    Location
    Des Moines, IA
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We'll need more details about your server to tell you how to do this.

  3. #3
    Marketing Guru ;) Johan Malmberg's Avatar
    Join Date
    Jun 2001
    Location
    Sweden
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What details do you need?

  4. #4
    code addict Abstraction's Avatar
    Join Date
    Apr 2001
    Location
    Des Moines, IA
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Operating System would be a good place to start.

  5. #5
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it is Apache just put the following in a .htaccess file:

    ErrorDocument 404 /file.ext

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  6. #6
    Marketing Guru ;) Johan Malmberg's Avatar
    Join Date
    Jun 2001
    Location
    Sweden
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We are using Linux on the server (It is a Cobolt Raq4i)

  7. #7
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look what Seanf said.

    Open your .htaccess file and put these line in:

    ErrorDocument 404 /path/to/the/error/html/file
    PalmVersa Communications
    PalmVersa.com
    ICQ# 120775841

  8. #8
    SitePoint Zealot pnathan's Avatar
    Join Date
    Sep 2001
    Location
    Amsterdam
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use the following cgi:

    Birdtrap it is fully customiazble, free and well written.


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
  •