.htacess ErrorDocument 404 and php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sims

    .htacess ErrorDocument 404 and php

    Hi,

    I have the strangest error with my .htaccess.

    I have something like
    ErrorDocument 404 /error/error.php?err=4 04

    But that does not work for php file?

    If I look for www.example/test.html, (<= test.html does not exist), then the
    error.php file gets loaded, but if I look for www.example/test.php, (also
    does not exist) then the standard 404 page gets loaded.

    Any reason why that would happen?

    Sims


Working...