quick question please,

can I create a custom 404 error page with a .php extension
or does need to be .htm,.html or .asp?
thanks
andy

Re: iis 5 - custom error pages by Ken

Ken
Wed Oct 29 07:52:05 CST 2003

You can create it with a .php extension if you want. You need to set it to
"type = URL" though, so that the PHP intepreter gets a change to "intepret"
the PHP code that you have in it (if you have it set to file, then IIS will
just send the file, verbatim, to the client).

Obviously, it does without saying that you need PHP installed :-)

Cheers
Ken


"andy" <anonymous@discussions.microsoft.com> wrote in message
news:0d1701c39e1c$de1002d0$a101280a@phx.gbl...
: quick question please,
:
: can I create a custom 404 error page with a .php extension
: or does need to be .htm,.html or .asp?
: thanks
: andy



Re: iis 5 - custom error pages by anonymous

anonymous
Wed Oct 29 08:06:57 CST 2003

excellent - all working

thanks
andy
>-----Original Message-----
>You can create it with a .php extension if you want. You
need to set it to
>"type = URL" though, so that the PHP intepreter gets a
change to "intepret"
>the PHP code that you have in it (if you have it set to
file, then IIS will
>just send the file, verbatim, to the client).
>
>Obviously, it does without saying that you need PHP
installed :-)
>
>Cheers
>Ken
>
>
>"andy" <anonymous@discussions.microsoft.com> wrote in
message
>news:0d1701c39e1c$de1002d0$a101280a@phx.gbl...
>: quick question please,
>:
>: can I create a custom 404 error page with a .php
extension
>: or does need to be .htm,.html or .asp?
>: thanks
>: andy
>
>
>.
>