Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    87

    how can i setting default ErrorDocument Pages?

    hello,

    i want to know how can i set the path for custom error documents of error codes

    the path that i made a custom changes in

    Code:
    /usr/local/apache/htdocs/
    i add in httpd.conf file the following settings

    Code:
    ErrorDocument 400 /usr/local/apache/htdocs/badreq.html
    ErrorDocument 401 /usr/local/apache/htdocs/noauth.html
    ErrorDocument 403 /usr/local/apache/htdocs/forbid.html
    ErrorDocument 404 /usr/local/apache/htdocs/missing.html
    ErrorDocument 500 /usr/local/apache/htdocs/conferr.html
    restart the apache ,but still my custom pages no working

    i want to know how can i make local path for default error documents pages in httpd.conf

    thanks

  2. #2
    Join Date
    Jul 2005
    Location
    New Jersey, US
    Posts
    1,597
    Check the error logs when testing it to see what it says, that should give you an idea of what is wrong.
    PlatinumServerManagement (also known as PSM)
    The OLDEST and LARGEST and MOST TRUSTED server management provider in the USA, with 15+ employees and growing!
    Providing quality support for OVER 21 years! Currently supporting over 3,000+ servers monthly!

    www.PlatinumServerManagement.com Proud member of the NJ BBB & Chamber of Commerce & Authorized cPanel Partner.

Posting Permissions

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