Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Blank 404.shtml error page

Discussion in 'General Discussion' started by neonix, Mar 15, 2006.

  1. neonix

    neonix Well-Known Member

    Oct 21, 2004
    Likes Received:
    Trophy Points:

    I used the script provided by to create 404.shtml error pages as I had not included a default 404.shtml page in the cpanel3-skel directory.

    Name: fix404errors Version: 0.1 Downloaded: 1770 times
    Tired of seeing the 404.shtml cannot be found in the error_log? This script runs thru your system and creates 404.shtml for every user who doesnt have one. It also creates one in the cpanel3-skel dir. Depending on how many 404.shtml errors you get per sec this may help with cutting down some read/writes on your harddisk.

    The problem is that the script created BLANK 404.shtml pages for all the domains. So instead of displaying any error message... the sites now just display a blank page.

    I will now have to manually create the 404.shtml page for each domain and there are hundreds!

    Is there a way to automate the process of creating 404.shtml pages for all domains on the server?

    Thanks for your help!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice