Re: 404-Type Error Redirection?

2002-11-14 Thread Pete Ruckelshaus
I built a system that actually does databased redirects for 404's, is that
what you are looking for?  Works for directories, .html, and CF files.  If a
404 is encountered, the database is queried with the "bad" url; if there is
a good URL matching that "bad" URL, the user is redirected. Otherwise, the
"bad" URL is added to the database for investigation.  Currently it's on
CF5, but there's nothing in there to keep it from working on MX

Pete



- Original Message -
From: "Lee Fuller" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 3:44 PM
Subject: CFMX: 404-Type Error Redirection?


> I know we've discussed this before, but with IIS5 and CFMX, has anyone
> come up with a way to define custom error pages for .CFM 404s, and the
> like?
>
> Of course, making adjustments to the Custom Error Pages within IIS will
> work for not found or incorrect .HTM pages... But not for .CFM pages.
>
> Has anyone found an error redirect system that works with CFMX?
>
>
> 
~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: 404-Type Error Redirection?

2002-11-14 Thread Nick McClure
You can set IIS to verify the existence of CF Pages before passing to
CF. It is one of the options when you set up the .CFM mapping.

There is a "Check that File exists" or something like that box.

That will tell it to use the IIS 404 error message, which you can then
customize, you can also set this to a CFM page that is data driven.

> - Original Message -
> From: "Lee Fuller" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 14, 2002 3:44 PM
> Subject: CFMX: 404-Type Error Redirection?
> 
> 
> > I know we've discussed this before, but with IIS5 and CFMX, has
anyone
> > come up with a way to define custom error pages for .CFM 404s, and
the
> > like?
> >
> > Of course, making adjustments to the Custom Error Pages within IIS
will
> > work for not found or incorrect .HTM pages... But not for .CFM
pages.
> >
> > Has anyone found an error redirect system that works with CFMX?
> >
> >
> >
> 
~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: 404-Type Error Redirection?

2002-11-14 Thread Joshua Miller
I've done this in the past: http://www.eaglewd.com/fake_url.cfm

Set the template you create to be the 404 Handler in IIS, then set the
template to be the "Missing Template Error Handler" in ColdFusion
Administrator. This one catches missing pages and stores the info in a
database, then emails the development staff to investigate. Likewise
there's a template that looks almost identical that traps errors, stores
the error in a database, adds the issue to a "bug tracker" and shoots
off emails to the developers. You can do a lot with custom error pages.

Joshua Miller
[EMAIL PROTECTED]


-Original Message-
From: Nick McClure [mailto:cf-lists@;king-nacho.com] 
Sent: Thursday, November 14, 2002 4:44 PM
To: CF-Talk
Subject: RE: 404-Type Error Redirection?


You can set IIS to verify the existence of CF Pages before passing to
CF. It is one of the options when you set up the .CFM mapping.

There is a "Check that File exists" or something like that box.

That will tell it to use the IIS 404 error message, which you can then
customize, you can also set this to a CFM page that is data driven.

> - Original Message -
> From: "Lee Fuller" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 14, 2002 3:44 PM
> Subject: CFMX: 404-Type Error Redirection?
> 
> 
> > I know we've discussed this before, but with IIS5 and CFMX, has
anyone
> > come up with a way to define custom error pages for .CFM 404s, and
the
> > like?
> >
> > Of course, making adjustments to the Custom Error Pages within IIS
will
> > work for not found or incorrect .HTM pages... But not for .CFM
pages.
> >
> > Has anyone found an error redirect system that works with CFMX?
> >
> >
> >
> 

~|
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
Get the mailserver that powers this list at http://www.coolfusion.com



RE: 404-Type Error Redirection?

2002-11-14 Thread Joshua Miller
I knew I'd seen this before:
http://www.sys-con.com/coldfusion/article.cfm?id=305

CFDJ is well worth the $90 a year

Joshua Miller
[EMAIL PROTECTED]


-Original Message-
From: Joshua Miller [mailto:josh@;joshuasmiller.com] 
Sent: Thursday, November 14, 2002 5:28 PM
To: CF-Talk
Subject: RE: 404-Type Error Redirection?


I've done this in the past: http://www.eaglewd.com/fake_url.cfm

Set the template you create to be the 404 Handler in IIS, then set the
template to be the "Missing Template Error Handler" in ColdFusion
Administrator. This one catches missing pages and stores the info in a
database, then emails the development staff to investigate. Likewise
there's a template that looks almost identical that traps errors, stores
the error in a database, adds the issue to a "bug tracker" and shoots
off emails to the developers. You can do a lot with custom error pages.

Joshua Miller
[EMAIL PROTECTED]


-Original Message-
From: Nick McClure [mailto:cf-lists@;king-nacho.com] 
Sent: Thursday, November 14, 2002 4:44 PM
To: CF-Talk
Subject: RE: 404-Type Error Redirection?


You can set IIS to verify the existence of CF Pages before passing to
CF. It is one of the options when you set up the .CFM mapping.

There is a "Check that File exists" or something like that box.

That will tell it to use the IIS 404 error message, which you can then
customize, you can also set this to a CFM page that is data driven.

> - Original Message -
> From: "Lee Fuller" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 14, 2002 3:44 PM
> Subject: CFMX: 404-Type Error Redirection?
> 
> 
> > I know we've discussed this before, but with IIS5 and CFMX, has
anyone
> > come up with a way to define custom error pages for .CFM 404s, and
the
> > like?
> >
> > Of course, making adjustments to the Custom Error Pages within IIS
will
> > work for not found or incorrect .HTM pages... But not for .CFM
pages.
> >
> > Has anyone found an error redirect system that works with CFMX?
> >
> >
> >
> 


~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: 404-Type Error Redirection?

2002-11-14 Thread Lee Fuller
Yes.. I thought I saw that.  But where?  I don't see it anywhere in the
administrator.  Can you tell me where you see it?



| -Original Message-
| From: Nick McClure [mailto:cf-lists@;king-nacho.com] 
| Sent: Thursday, November 14, 2002 1:44 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| You can set IIS to verify the existence of CF Pages before 
| passing to CF. It is one of the options when you set up the 
| .CFM mapping.
| 
| There is a "Check that File exists" or something like that box.
| 
| That will tell it to use the IIS 404 error message, which you 
| can then customize, you can also set this to a CFM page that 
| is data driven.
| 
| > - Original Message -
| > From: "Lee Fuller" <[EMAIL PROTECTED]>
| > To: "CF-Talk" <[EMAIL PROTECTED]>
| > Sent: Thursday, November 14, 2002 3:44 PM
| > Subject: CFMX: 404-Type Error Redirection?
| > 
| > 
| > > I know we've discussed this before, but with IIS5 and CFMX, has
| anyone
| > > come up with a way to define custom error pages for .CFM 404s, and
| the
| > > like?
| > >
| > > Of course, making adjustments to the Custom Error Pages within IIS
| will
| > > work for not found or incorrect .HTM pages... But not for .CFM
| pages.
| > >
| > > Has anyone found an error redirect system that works with CFMX?
| > >
| > >
| > >
| > 
| 
~|
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



RE: 404-Type Error Redirection?

2002-11-14 Thread Lee Fuller
Yep.. Works great, if you're running CF 4.5 and IIS4.  Doesn't help at
all on IIS5 and CFMX. 8(



| -Original Message-
| From: Joshua Miller [mailto:josh@;joshuasmiller.com] 
| Sent: Thursday, November 14, 2002 2:42 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| I knew I'd seen this before: 
| http://www.sys-con.com/coldfusion/article.cfm?id=305
| 
| CFDJ is well worth the $90 a year
| 
| Joshua Miller
| [EMAIL PROTECTED]
| 
| 
| -Original Message-
| From: Joshua Miller [mailto:josh@;joshuasmiller.com] 
| Sent: Thursday, November 14, 2002 5:28 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| I've done this in the past: http://www.eaglewd.com/fake_url.cfm
| 
| Set the template you create to be the 404 Handler in IIS, 
| then set the template to be the "Missing Template Error 
| Handler" in ColdFusion Administrator. This one catches 
| missing pages and stores the info in a database, then emails 
| the development staff to investigate. Likewise there's a 
| template that looks almost identical that traps errors, 
| stores the error in a database, adds the issue to a "bug 
| tracker" and shoots off emails to the developers. You can do 
| a lot with custom error pages.
| 
| Joshua Miller
| [EMAIL PROTECTED]
| 
| 
| -Original Message-
| From: Nick McClure [mailto:cf-lists@;king-nacho.com] 
| Sent: Thursday, November 14, 2002 4:44 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| You can set IIS to verify the existence of CF Pages before 
| passing to CF. It is one of the options when you set up the 
| .CFM mapping.
| 
| There is a "Check that File exists" or something like that box.
| 
| That will tell it to use the IIS 404 error message, which you 
| can then customize, you can also set this to a CFM page that 
| is data driven.
| 
| > - Original Message -
| > From: "Lee Fuller" <[EMAIL PROTECTED]>
| > To: "CF-Talk" <[EMAIL PROTECTED]>
| > Sent: Thursday, November 14, 2002 3:44 PM
| > Subject: CFMX: 404-Type Error Redirection?
| > 
| > 
| > > I know we've discussed this before, but with IIS5 and CFMX, has
| anyone
| > > come up with a way to define custom error pages for .CFM 404s, and
| the
| > > like?
| > >
| > > Of course, making adjustments to the Custom Error Pages within IIS
| will
| > > work for not found or incorrect .HTM pages... But not for .CFM
| pages.
| > >
| > > Has anyone found an error redirect system that works with CFMX?
| > >
| > >
| > >
| > 
| 
| 
| 
~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: 404-Type Error Redirection?

2002-11-14 Thread Joshua Miller
1. In Response to "Where Is It"
Login To Administrator
Click SETTINGS
Last 2 Fields: Missing Template Handler and Site-wide Error Handler 

2. You have to use the FULL PATH (D:\websites\404\error_404.cfm)

3. I'm running it on IIS5 and CFMX and it works fine.


Joshua Miller
[EMAIL PROTECTED]


-Original Message-
From: Lee Fuller [mailto:leelistnew@;primedna.net] 
Sent: Thursday, November 14, 2002 5:42 PM
To: CF-Talk
Subject: RE: 404-Type Error Redirection?


Yes.. I thought I saw that.  But where?  I don't see it anywhere in the
administrator.  Can you tell me where you see it?



| -Original Message-
| From: Nick McClure [mailto:cf-lists@;king-nacho.com]
| Sent: Thursday, November 14, 2002 1:44 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| You can set IIS to verify the existence of CF Pages before
| passing to CF. It is one of the options when you set up the 
| .CFM mapping.
| 
| There is a "Check that File exists" or something like that box.
| 
| That will tell it to use the IIS 404 error message, which you
| can then customize, you can also set this to a CFM page that 
| is data driven.
| 
| > - Original Message -
| > From: "Lee Fuller" <[EMAIL PROTECTED]>
| > To: "CF-Talk" <[EMAIL PROTECTED]>
| > Sent: Thursday, November 14, 2002 3:44 PM
| > Subject: CFMX: 404-Type Error Redirection?
| > 
| > 
| > > I know we've discussed this before, but with IIS5 and CFMX, has
| anyone
| > > come up with a way to define custom error pages for .CFM 404s, and
| the
| > > like?
| > >
| > > Of course, making adjustments to the Custom Error Pages within IIS
| will
| > > work for not found or incorrect .HTM pages... But not for .CFM
| pages.
| > >
| > > Has anyone found an error redirect system that works with CFMX?
| > >
| > >
| > >
| > 
| 

~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: 404-Type Error Redirection?

2002-11-14 Thread Lee Fuller
But that's only good for a system wide handler... As I see it.

We're looking for a way to let the clients build their own.  Of course,
we could code each client's site into this file, or a db.  But seems a
bit tough.

There MUST be a redirector around like we had before for CF!  8/



| -Original Message-
| From: Joshua Miller [mailto:josh@;joshuasmiller.com] 
| Sent: Thursday, November 14, 2002 3:26 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| 1. In Response to "Where Is It"
| Login To Administrator
| Click SETTINGS
| Last 2 Fields: Missing Template Handler and Site-wide Error Handler 
| 
| 2. You have to use the FULL PATH (D:\websites\404\error_404.cfm)
| 
| 3. I'm running it on IIS5 and CFMX and it works fine.
| 
| 
| Joshua Miller
| [EMAIL PROTECTED]
| 
| 
| -Original Message-
| From: Lee Fuller [mailto:leelistnew@;primedna.net] 
| Sent: Thursday, November 14, 2002 5:42 PM
| To: CF-Talk
| Subject: RE: 404-Type Error Redirection?
| 
| 
| Yes.. I thought I saw that.  But where?  I don't see it 
| anywhere in the administrator.  Can you tell me where you see it?
| 
| 
| 
| | -Original Message-
| | From: Nick McClure [mailto:cf-lists@;king-nacho.com]
| | Sent: Thursday, November 14, 2002 1:44 PM
| | To: CF-Talk
| | Subject: RE: 404-Type Error Redirection?
| | 
| | 
| | You can set IIS to verify the existence of CF Pages before 
| passing to 
| | CF. It is one of the options when you set up the .CFM mapping.
| | 
| | There is a "Check that File exists" or something like that box.
| | 
| | That will tell it to use the IIS 404 error message, which 
| you can then 
| | customize, you can also set this to a CFM page that is data driven.
| | 
| | > - Original Message -
| | > From: "Lee Fuller" <[EMAIL PROTECTED]>
| | > To: "CF-Talk" <[EMAIL PROTECTED]>
| | > Sent: Thursday, November 14, 2002 3:44 PM
| | > Subject: CFMX: 404-Type Error Redirection?
| | > 
| | > 
| | > > I know we've discussed this before, but with IIS5 and CFMX, has
| | anyone
| | > > come up with a way to define custom error pages for 
| .CFM 404s, and
| | the
| | > > like?
| | > >
| | > > Of course, making adjustments to the Custom Error Pages 
| within IIS
| | will
| | > > work for not found or incorrect .HTM pages... But not for .CFM
| | pages.
| | > >
| | > > Has anyone found an error redirect system that works with CFMX?
| | > >
| | > >
| | > >
| | > 
| | 
| 
| 
~|
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
Get the mailserver that powers this list at http://www.coolfusion.com