The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating error pages for users?

Discussion in 'General Discussion' started by grey_fox, Sep 8, 2004.

  1. grey_fox

    grey_fox Member

    Joined:
    Feb 13, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sillypore
    Hi there, I'm wondering how can I create custom 404.php pages for customers, whereby they can actually have a http://www.theirdomain.com/404.php, 403.php, etc instead of having it all lead to my main apache's default 404.shtml page?

    Hope my question isn't confusing anyone out there but I do need the advise on how to have this set up for all my customers? Any ideas? :D
     
  2. Drake

    Drake Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Have you not tried placing the customer's own custom error pages within their own public_html directory?

    ~Drake
     
  3. grey_fox

    grey_fox Member

    Joined:
    Feb 13, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sillypore
    Realised i just asked a really silly question. My apologies.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    You can put default error pages in your cpanel3_skel/public_html directory and they will be copied over to new accounts. By default, apache looks for 404.shtml though, so to use 404.php you have to either change the setting in the httpd.conf file, or set the new error pages in a .htaccess file in your skel directory which would also be copied to new accounts.
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Too late. I answered. ;)
     
Loading...

Share This Page