Errore pages with php

Discussion in 'Installation/Configuration' started by StefanoVanzo, Mar 9, 2008.

  1. StefanoVanzo

    StefanoVanzo New Member

    Hi everyone

    Beutiful program. I am using it for 1 year now without problems. I just ugrade from Ubuntu 7.04 to 7.10 and then from ISPConfig 2.2.14 to 2.2.21 on my remote server and everything went cool.
    Now I have a little question.
    How can I use this Direttive Apache: ErrorDocument 404 /error-404.php

    I would like to use PHP in the error pages

    Thanks to all for this great program
  2. falko

    falko Super Moderator ISPConfig Developer

    You'd have to modify the ErrorDocument directives in the make_vhost() function in /root/ispconfig/scripts/lib/config.lib.php.

Share This Page