Disable ErrorDocument 404?

Discussion in 'Installation/Configuration' started by Pulsaris, Feb 13, 2008.

  1. Pulsaris

    Pulsaris New Member

    Hi there :)

    I've been using ISPconfig for awhile now on different systems, using different versions, etcetera. Recently I've come across a minor problem with a separate thing. This separate thing requires that I disable the Error 404 Document which is presented using ISPconfig default setup.

    I have searched around and have had no luck finding a well defined, effective, and easy way to do this. I do however have a few processes prepared to try using basic logic.

    I have gone through the usual configuration files and have a good understanding what is happening. I see that each web (web, web2, web3, etcetra) has its' own ErrorDocument references in Vhosts_ispconfig.conf, and its' own "error" directory which contains the files. If this or other files are re-generated upon modification of a web in the ISPconfig control panel or otherwise I am uncertain.

    My question is two parts.
    Part one: Is there an easy way to "disable" the 404 Error documents universally? Part two: If there is not a "simple" method, and I modify the configuration (simple modification example: comment them out), will it "re-write" itself when I add another site to the control panel and re-include the ErrorDocument references?

    I appreciate your help, I hope it is an easy question.

    Thank you :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig will overwrite your changes, if you comment them out in the Vhosts_ispconfig.conf.

    If you want to remove the error document part written by ISPConfig, you may remove the line {ERROR} from the file /root/ispconfig/isp/conf/vhost.conf.master
     

Share This Page