Manage the 404 errors

Discussion in 'Installation/Configuration' started by Pyanepsion, Mar 10, 2017.

  1. Pyanepsion

    Pyanepsion New Member

    Hello.

    I just installed ISPConfig on an server managed with Apache.
    The .htaccess file should redirect 404 errors on page 404.php. This page 404.php have only the texte : "Cette page n'existe pas".
    The redirection now only works on URIs that do not have a suffix .php. With the PHP pages, this opens a page where is marked in English "File not found."

    Example:
    The non-existent https:// example.com/notimage.png will redirect to the correct 404.php page and it's correct too with https: //example.com/notpage.html.
    [​IMG]
    On the other hand, the non-existent page https:// example.com/notpage.php will display the text "File not found."
    [​IMG]

    How to correct this?
    Thank you for your explanations.
    --
    ISPConfig version is 3.1.2
    Php (cli) version is 7.0.15-0 ubuntu
    [INFO] I found the following web server (s):
    Apache 2 (PID 1722)
     
    Last edited: Mar 10, 2017

Share This Page