Hi,
I have an app running on PHP5 on IIS on a Win2k3 server.
I set up a custom 404 page in IIS to display if a page isn't found.
If I try to browse to a directory which doens't exist, the cutom 404 page is shown - this is great.
However, if I try to hit a php page which doesn't exist, I get the standard default 404 page instead of the custom version.
Can anyone tell me what I'm missing?
Thanks in advance.
Ally
404 Page if a PHP page doesn't exist (IIS)
Moderator: General Moderators
Re: 404 Page if a PHP page doesn't exist (IIS)
This is just a guess, but maybe the default is .html so when it looks for a php custom file it can't find one.
Re: 404 Page if a PHP page doesn't exist (IIS)
Thanks for your help Lance, but I don't think that's it. The custom error page is "error.php".