[solved] custom global 404 error with interworx

Discussion in 'Install/Configuration' started by bangsters, Jun 15, 2012.

  1. bangsters

    bangsters Well-Known Member


    We are using litespeed with interworx. We can change the 404 error document from within each end user.

    How do we change it globally? We want to replace the default 404 page? The end users will still have the option of customizing their 404 via .htaccess. Globally though, how?


    by the way, already came across this post, but I cannot find an errordocument.conf. We are using interworx with cloudlinux, and litespeed i using httpd.conf:

    Last edited by a moderator: Jun 22, 2012
  2. bangsters

    bangsters Well-Known Member

    bump please.

  3. bangsters

    bangsters Well-Known Member

    bump again please. trying to set a default global 404 for our server running litespeed.

    how can we accomplish this
  4. webizen

    webizen Well-Known Member


    ErrorDocument 404 /path/to/custom404.html
  5. bangsters

    bangsters Well-Known Member

    Thanks as always!!
  6. bangsters

    bangsters Well-Known Member

    @webizen: Can Litespeed use php as an errordocument?

    I added a custom 404 in the httpd.conf file. If I use filename.php it doesn't get recognized, but if I use filename.html it works just fine.

    I want to use PHP so I can put custom php coding.

    Please advice.


Share This Page