ErrorDocument and Redirection

Discussion in 'Apache' started by ghenry, Jun 24, 2011.

  1. #1
    Hello,

    I've developped a custom module for apache. All requests pass in it, and the module responds 200 or 4XX http code.

    I got errordocument directives in my httpd.conf, like :
    ErrorDocument 404 /404.html

    My problem is that the redirection made by ErrorDocument is catched by my module, so it's called twice for each requests.

    Did someone has an idea to correct this ?

    Thx
     
    ghenry, Jun 24, 2011 IP