If you're requesting a missing .cfm page then you'll get the ColdFusion
missing template.  If you're requesting a missing .htm page you'll get the
IIS missing template.

I *think* what you want to do here is configure IIS and ColdFusion to point
to the same (ColdFusion I assume) 404 page so that both missing .cfm and
missing .htm pages are processed by the same template.

-Novak

----- Original Message -----
From: "Geoffrey Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 31, 2002 7:37 AM
Subject: 404s, silly question


> Hi,
> I just jumped back on the list after a couple-year break.  Hi everyone.
>
> So I've been doing cf dev for over 6 years now, I know my way around the
> place pretty well.  However, I can not, for the life of me, figure out how
> to get my custom 404 pages working again.
>
> Basically I have one file that handles all the 404s for my entire site.  I
> have IIS setup to parse .htm files through the CF ISAPI.  IIS is not
> verifying the existence of the .htm files, so CF should be handling 404s
for
> these files.  The server in question is running CF 4.5.  This all works
> nicely.
>
> My 404 page is named 404.htm, located under an /errors/ folder under the
> root of my website.  In the CF Admin, under "missing template handler",
I've
> tried putting in just about everything that I can think of (logical path,
> relative from website root; eg: /errors/404.htm, etc).  Despite this, I
> still get the default Cold Fusion 404 when I enter a non-existent page.
>
> So, the question - what exactly is supposed to go in the "missing template
> handler" in the cfadmin?  If the path is correct, is there anything that
> would cause CF to return the default 404 instead of the intended template?
>
> Thanks,
> Geoff B
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to