Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2010

    cPanel/WHM custom 403 page for all accounts?

    how to custom 403,404,500 page for all accounts?i want to do it on server wide by cPanel/WHM.

  2. #2
    Join Date
    Jan 2011

    Thumbs up


    You can do this for an account from cPanel.

    cPanel >> Advanced >> Error Pages

    <<Signature to be setup in your profile>>
    Last edited by anon-e-mouse; 05-08-2011 at 06:47 AM.

  3. #3
    Join Date
    Jul 2010
    i am sorry, i want to do it on server side, to all the accounts on the server not a single user?

  4. #4
    Join Date
    Oct 2010
    ON, Canada
    In httpd.conf:
    Alias /errorfolder /usr/local/apache/errorfolder
    ErrorDocument 400 /errorfolder/400.shtml
    ErrorDocument 401 /errorfolder/401.shtml
    ErrorDocument 403 /errorfolder/403.shtml
    ErrorDocument 404 /errorfolder/404.shtml
    ErrorDocument 500 /errorfolder/500.shtml
    The above should load the relevant error page from "/usr/local/apache/errorfolder/" for every domain on the server, unless a custom one is set within an HTACCESS file. You can use whatever names/paths that you want.
    GG Web Hosting
    Backup, Digital (SSL) Certificates, Domains, Hosting, Privacy Policy, Software
    S/W: Peel Ads, Softaculous, WHMCS Addons (Abuse Mon., Affiliate Peel Ads, Client Stat., Ord. Prevention, Ord. Stat., Softaculous NOC, Sys. Cleanup)
    Authorized Reseller Program

  5. #5
    Join Date
    Jul 2010
    is there a way to add the code in httpd.conf by WHM?

  6. #6
    Join Date
    Nov 2010
    Not quite, you can configure some variables for httpd.conf from Apache Configuration but that's about it.
    cPanel HelpNet - cPanel, Linux, Virtualization tutorials, guides and more

Similar Threads

  1. how to custom the 404 page by whm
    By runeveryday in forum Web Hosting
    Replies: 5
    Last Post: 05-08-2011, 05:22 AM
  2. cPanel/WHM Master 404 error page for all accounts?
    By MH-Andy in forum Hosting Security and Technology
    Replies: 0
    Last Post: 04-04-2009, 04:55 PM
  3. Disable custom 404 page settings for cpanel users in WHM?
    By 2DollarWebHosting in forum Running a Web Hosting Business
    Replies: 7
    Last Post: 01-30-2006, 05:27 PM
  4. I can't login to my Fantastico Admin Panel, keep getting 403 forbidden page
    By Popiah in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 09-06-2003, 01:35 PM
  5. 403 with .cgi as index page
    By BMurtagh in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-06-2002, 06:24 PM

Posting Permissions

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