Les,

You can configure a CFM page as a 404 handler using IIS (or apache). I have
the IIS instructions here.

http://mkruger.cfwebtools.com/index.cfm?mode=entry&entry=8F4658E4-0763-5FB7-
67D23B839AB74005

A followup here helps with a possible configuration error (file exists)

http://www.coldfusionmuse.com/index.cfm/2006/9/7/site.by.site.404 


I have no idea if you can get HMS to cooperate on this. They have very
little incentive for helping sites out with custom configuration since they
have such a razor thin profit margin. What they really want is thousands of
low traffic sites that get put up and remain a they are for years (which
describes most of the web actually). I'm sure that HMS would prefer to lose
a customer that was constantly hounding them for configuration changes
rather than accomdate them. 

-Mark


-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 31, 2007 12:13 PM
To: CF-Talk
Subject: Custom Error Page on HostMySite for missing templates/incorrect
URLs...

This has been beat to death before, but thought I'd ask one more time as
I've not seen what I consider to be a definite answer yet.

After a bunch of back and forth with support at HostMySite I get the
following reply:

-------------

Hello Les,

Custom error pages set up in CFAdmin are applied server wide.  Per site
custom error pages can be configured using <cferror> tags in
Application.cfm.  Please let us know if  you require further assistance.

-------------

Basically, the site in question has been redesigned and reorganized from
scratch (several hundred pages have changed). I really see no way to set up
any way of catching "file not found" errors as the constructor code of
Application.cfc is included in the requested template. If the template
doesn't exist, then Application.cfc doesn't get called, right?

I'm trying to find a way to catch *all* incorrect URLS coming into the site
and redirect them to an error/sitemap page so they can find what they were
originally looking for.

www.mysite.com/foo.cfm 0r *anything* should go to the one error/sitemap page
I've set up.

...htm or .html pages are being redirected correctly as per a setting in the
site admin, but this does *not* catch .cfm pages, and the entire site is
..cfm ...

I don't see any real way to do this.

Ideas?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292430
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to