404 Page if a PHP page doesn't exist (IIS)
Posted: Mon Feb 23, 2009 8:59 am
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
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