Apache "Not Found" message

Discussion in 'Windows Desktop Systems' started by lieb39, Dec 6, 2002.

  1. lieb39

    lieb39 Apple lover, PC User

    Messages:
    526
    Location:
    Australia
    Question,

    I am running Apache, and whenever a user tried to access a website that doesn't exsit on my server they got a message like this;

    Not Found
    The requested URL /notreal/index.html was not found on this server.


    --------------------------------------------------------------------------------

    Apache/1.3.27 Server at localhost Port 80

    How do I change this page? To perhaps go to another page?

    -Dan
     
  2. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    burp.

    In your srm.conf, add the following:

    ErrorDocument 404 /path/to/customerrorfile.html

    If you don't have an srm.conf file, just use httpd.conf