RE: custom error pages

2006-03-20 Thread Snake
Bah, it's bloody CF and the flaky way it searches for CFC's
For some reason it is looking in custom tag paths before looking in the
local folder.

Russ 

-Original Message-
From: Russ Michaels [mailto:[EMAIL PROTECTED] 
Sent: 21 March 2006 00:40
To: CF-Talk
Subject: custom error pages

has anyone ever had a problem with sites using the custom error pages from a
different site?

I have had a client tell me that randomly his site (lets call it site1.com)
is throwing errors because it is trying to use the sitewide error handler
from another site (site2.com), even when no error has actually occured on
his site.
The site wide error handler is set as  "\error.cfm" in the cfadmin, which
itself causes the following errorwhen the wrong one is executed.

"access denied (java.io.FilePermission E:\wwwroot\site2.com\wwwroot\tags
read) null
The error occurred on line -1. "

which is presumably because the error.cfm is trying to use files in
site2.com that site1.com doesn't have permission to use because of it's
security sanbox.

Both sites do have their own custom error.cfm files.

So there is 2 issues here.

1. why is the error.cfm even being executed when no error has occured on the
site 2. why is the error.cfm from another site being executed

Russ





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235836
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Custom Error Pages

2005-11-28 Thread Matt Robertson
On 11/27/05, ColdFusion <[EMAIL PROTECTED]> wrote:
> In a shared hosting environment where HELMs is used, you can establish
> custom error templates for 404 errors and others.

As you can see the answer to this is entirely dependent on your
hosting provider.  They can do something very simple in the missing
template handler that will redirect to
#cgi.http_host#/wherever/whatever.cfm if file exists, for example. 
That would be only a few lines of code and would work for every one of
their customers on that box.

But they have to decide to do it.

Another reason I love dedicated servers :-)

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225461
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-28 Thread Justin D. Scott
That is good to know.  I very rarely use charting, but if it ever breaks
somewhere I'll know where to look .

-Justin Scott
 

> -Original Message-
> From: Snake [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 28, 2005 8:14 AM
> To: CF-Talk
> Subject: RE: Custom Error Pages
> 
> If this setting is enabled it breaks cfcharting. 
> 
> -Original Message-
> From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
> Sent: 28 November 2005 12:59
> To: CF-Talk
> Subject: RE: Custom Error Pages
> 
> Also remember that you can set IIS to "check if file exists" 
> before passing
> the request off to ColdFusion so that IIS would handle 404's 
> on cfm files as
> well.  It would depend on your host as to how that was set.
> 
> -Justin Scott
>  
> 
> > -Original Message-
> > From: Snake [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 28, 2005 6:24 AM
> > To: CF-Talk
> > Subject: RE: Custom Error Pages
> > 
> > Coldfusion 404 errors are not handled by IIS.
> > This is a setting in the CFADMIN that specifies a global 
> 404 page for 
> > missing .CFM pages.
> > 
> > As far as he regular IIS errors, you can specify any page you like, 
> > the extension doesn't matter.
> > 
> > --
> > Snake
> > 
> > -Original Message-
> > From: ColdFusion [mailto:[EMAIL PROTECTED]
> > Sent: 28 November 2005 01:29
> > To: CF-Talk
> > Subject: Custom Error Pages
> > 
> > In a shared hosting environment where HELMs is used, you 
> can establish 
> > custom error templates for 404 errors and others.
> > 
> > Now if I want to redirect 404 errors to an error page such as:
> > /errors/404.cfm
> > 
> > That should be fine, right? Or does it need to be an HTM page?
> > 
> > I was informed this:
> > I think the custom error pages work provided that you call 
> a URL that 
> > doesn't end with .cfm.
> > 
> > Anyone have more information about it?
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225411
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-28 Thread Adkins, Randy
Yeah that is the one drawback of it. So what I have done was
Created an error template and any call to a CFM page that generates
An error such as REQUEST or EXCEPTION it is redirected to the
Error template I have specified.

 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 8:18 AM
To: CF-Talk
Subject: Re: Custom Error Pages

Remembering also that this breaks CFCHART and other things that rely on
a servlet mapping.

On 11/28/05, Justin D. Scott <[EMAIL PROTECTED]> wrote:
> Also remember that you can set IIS to "check if file exists" before 
> passing the request off to ColdFusion so that IIS would handle 404's 
> on cfm files as well.  It would depend on your host as to how that was
set.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225390
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Custom Error Pages

2005-11-28 Thread James Holmes
Remembering also that this breaks CFCHART and other things that rely
on a servlet mapping.

On 11/28/05, Justin D. Scott <[EMAIL PROTECTED]> wrote:
> Also remember that you can set IIS to "check if file exists" before passing
> the request off to ColdFusion so that IIS would handle 404's on cfm files as
> well.  It would depend on your host as to how that was set.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225384
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-28 Thread Snake
If this setting is enabled it breaks cfcharting. 

-Original Message-
From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
Sent: 28 November 2005 12:59
To: CF-Talk
Subject: RE: Custom Error Pages

Also remember that you can set IIS to "check if file exists" before passing
the request off to ColdFusion so that IIS would handle 404's on cfm files as
well.  It would depend on your host as to how that was set.

-Justin Scott
 

> -Original Message-
> From: Snake [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 6:24 AM
> To: CF-Talk
> Subject: RE: Custom Error Pages
> 
> Coldfusion 404 errors are not handled by IIS.
> This is a setting in the CFADMIN that specifies a global 404 page for 
> missing .CFM pages.
> 
> As far as he regular IIS errors, you can specify any page you like, 
> the extension doesn't matter.
> 
> --
> Snake
> 
> -Original Message-
> From: ColdFusion [mailto:[EMAIL PROTECTED]
> Sent: 28 November 2005 01:29
> To: CF-Talk
> Subject: Custom Error Pages
> 
> In a shared hosting environment where HELMs is used, you can establish 
> custom error templates for 404 errors and others.
> 
> Now if I want to redirect 404 errors to an error page such as:
> /errors/404.cfm
> 
> That should be fine, right? Or does it need to be an HTM page?
> 
> I was informed this:
> I think the custom error pages work provided that you call a URL that 
> doesn't end with .cfm.
> 
> Anyone have more information about it?
> 
> 
> 
> 
> 
> 
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225382
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-28 Thread Justin D. Scott
Also remember that you can set IIS to "check if file exists" before passing
the request off to ColdFusion so that IIS would handle 404's on cfm files as
well.  It would depend on your host as to how that was set.

-Justin Scott
 

> -Original Message-
> From: Snake [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 28, 2005 6:24 AM
> To: CF-Talk
> Subject: RE: Custom Error Pages
> 
> Coldfusion 404 errors are not handled by IIS.
> This is a setting in the CFADMIN that specifies a global 404 page for
> missing .CFM pages.
> 
> As far as he regular IIS errors, you can specify any page you 
> like, the
> extension doesn't matter.
> 
> --
> Snake
> 
> -Original Message-
> From: ColdFusion [mailto:[EMAIL PROTECTED] 
> Sent: 28 November 2005 01:29
> To: CF-Talk
> Subject: Custom Error Pages
> 
> In a shared hosting environment where HELMs is used, you can establish
> custom error templates for 404 errors and others.
> 
> Now if I want to redirect 404 errors to an error page such as:
> /errors/404.cfm
> 
> That should be fine, right? Or does it need to be an HTM page?
> 
> I was informed this:
> I think the custom error pages work provided that you call a URL that
> doesn't end with .cfm.
> 
> Anyone have more information about it?
> 
> 
> 
> 
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225381
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-28 Thread Snake
Coldfusion 404 errors are not handled by IIS.
This is a setting in the CFADMIN that specifies a global 404 page for
missing .CFM pages.

As far as he regular IIS errors, you can specify any page you like, the
extension doesn't matter.

--
Snake

-Original Message-
From: ColdFusion [mailto:[EMAIL PROTECTED] 
Sent: 28 November 2005 01:29
To: CF-Talk
Subject: Custom Error Pages

In a shared hosting environment where HELMs is used, you can establish
custom error templates for 404 errors and others.

Now if I want to redirect 404 errors to an error page such as:
/errors/404.cfm

That should be fine, right? Or does it need to be an HTM page?

I was informed this:
I think the custom error pages work provided that you call a URL that
doesn't end with .cfm.

Anyone have more information about it?






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225375
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Custom Error Pages

2005-11-27 Thread James Holmes
The hosting company would have to edit the missing template handler to
check to see if the URL was from your site (e.g. by checking the
CGI.HTTP_HOST variable) and redirect as appropriate.

On 11/28/05, ColdFusion <[EMAIL PROTECTED]> wrote:
> Is there anyway to get calls to CF pages to be redirected to the error
> Pages created without using the CF Administrator since it is a
> Shared hosting environment?

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225364
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom Error Pages

2005-11-27 Thread ColdFusion
Is there anyway to get calls to CF pages to be redirected to the error
Pages created without using the CF Administrator since it is a 
Shared hosting environment?


-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 27, 2005 8:39 PM
To: CF-Talk
Subject: Re: Custom Error Pages

All CF pages on the server share the same CF missing template handler (if
one has been specified). The information you received was correct
- only non CF requests will use the custom error handler you specify.

On 11/28/05, ColdFusion <[EMAIL PROTECTED]> wrote:
> In a shared hosting environment where HELMs is used, you can establish 
> custom error templates for 404 errors and others.
>
> Now if I want to redirect 404 errors to an error page such as:
> /errors/404.cfm
>
> That should be fine, right? Or does it need to be an HTM page?
>
> I was informed this:
> I think the custom error pages work provided that you call a URL that 
> doesn't end with .cfm.
>
> Anyone have more information about it?
--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225363
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Custom Error Pages

2005-11-27 Thread James Holmes
All CF pages on the server share the same CF missing template handler
(if one has been specified). The information you received was correct
- only non CF requests will use the custom error handler you specify.

On 11/28/05, ColdFusion <[EMAIL PROTECTED]> wrote:
> In a shared hosting environment where HELMs is used, you can establish
> custom error templates for 404 errors and others.
>
> Now if I want to redirect 404 errors to an error page such as:
> /errors/404.cfm
>
> That should be fine, right? Or does it need to be an HTM page?
>
> I was informed this:
> I think the custom error pages work provided that you call a URL that
> doesn't end with .cfm.
>
> Anyone have more information about it?
--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225356
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Custom error pages

2001-06-05 Thread Steve Vosloo

Excellent - thanks.



> -Original Message-
> From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 5:55 PM
> To: CF-Talk
> Subject: Re: Custom error pages
>
>
> Yes. Using IIS 5 as the example, right-click on the web site from the list
> in the IIS console. Choose properties. Click the "Custom Errors" tab.
>
> You can do it for each site.
>
> On 6/5/01 8:17 AM, "Steve Vosloo" <[EMAIL PROTECTED]> wrote:
>
> > Can I do that per website hosted on the box?
> >
> >
> >
> >> -Original Message-
> >> From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
> >> Sent: Tuesday, June 05, 2001 5:05 PM
> >> To: CF-Talk
> >> Subject: RE: Custom error pages
> >>
> >>
> >> you can specifiy your own custom error pages using IIS if you're
> >> running it.
> >>
> >> -Original Message-
> >> From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
> >> Sent: Tuesday, June 05, 2001 7:51 AM
> >> To: CF-Talk
> >> Subject: Custom error pages
> >>
> >>
> >> I need to create 2 custom error pages for an application. One
> is for 404
> >> errors (page not found), and the other is for any other server
> >> errors. Armed
> >> with CFERROR and CFTRY/CFCATCH, does anyone have suggestions on how to
> >> achieve this?
> >>
> >> Thanks
> >> Steve
> >>
> >> Development Manager
> >> Vardus Internet Solutions (SA)
> >>
> >> Tel: (+27) 21 670 9880
> >> Fax: (+27) 21 674 4549
> >>
> >> Email: [EMAIL PROTECTED]
> >> Website: www.vardus.com
> >>
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Custom error pages

2001-06-05 Thread Dylan Bromby

Yes. Using IIS 5 as the example, right-click on the web site from the list
in the IIS console. Choose properties. Click the "Custom Errors" tab.

You can do it for each site.

On 6/5/01 8:17 AM, "Steve Vosloo" <[EMAIL PROTECTED]> wrote:

> Can I do that per website hosted on the box?
> 
> 
> 
>> -Original Message-
>> From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, June 05, 2001 5:05 PM
>> To: CF-Talk
>> Subject: RE: Custom error pages
>> 
>> 
>> you can specifiy your own custom error pages using IIS if you're
>> running it.
>> 
>> -Original Message-
>> From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, June 05, 2001 7:51 AM
>> To: CF-Talk
>> Subject: Custom error pages
>> 
>> 
>> I need to create 2 custom error pages for an application. One is for 404
>> errors (page not found), and the other is for any other server
>> errors. Armed
>> with CFERROR and CFTRY/CFCATCH, does anyone have suggestions on how to
>> achieve this?
>> 
>> Thanks
>> Steve
>> 
>> Development Manager
>> Vardus Internet Solutions (SA)
>> 
>> Tel: (+27) 21 670 9880
>> Fax: (+27) 21 674 4549
>> 
>> Email: [EMAIL PROTECTED]
>> Website: www.vardus.com
>> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Custom error pages

2001-06-05 Thread Steve Vosloo

Can I do that per website hosted on the box?



> -Original Message-
> From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 5:05 PM
> To: CF-Talk
> Subject: RE: Custom error pages
> 
> 
> you can specifiy your own custom error pages using IIS if you're 
> running it.
> 
> -Original Message-
> From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 7:51 AM
> To: CF-Talk
> Subject: Custom error pages
> 
> 
> I need to create 2 custom error pages for an application. One is for 404
> errors (page not found), and the other is for any other server 
> errors. Armed
> with CFERROR and CFTRY/CFCATCH, does anyone have suggestions on how to
> achieve this?
> 
> Thanks
> Steve
> 
> Development Manager
> Vardus Internet Solutions (SA)
> 
> Tel: (+27) 21 670 9880
> Fax: (+27) 21 674 4549
> 
> Email: [EMAIL PROTECTED]
> Website: www.vardus.com
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Custom error pages

2001-06-05 Thread Thomas Chiverton

> I need to create 2 custom error pages for an application. One 
> is for 404
> errors (page not found), and the other is for any other 
> server errors. 

You can use the 'error template' part of the CF administrator to catch all
CF errors.

You will need to use your Web servers capabilities to catch 404's and
display an appropriate page.

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Custom error pages

2001-06-05 Thread Kelly Matthews

There are a number of ways. The FIRST thing you want to do if you have
access is go CF administrator and then go to Settings.
Then scroll down and fill in the Exact Path to your Missing Template Handler
(for 404)
and your site-wide error handler (for errors).

Then you create the 2 pages you just pointed to and you have custom pages.
Now, there are a few things to keep in mind. 1. For 404 errors it will only
catch
..CFM 404 errors not .HTM so if you use IIS you need to edit their 404 page
to 
point to your new page.

Now what I do since I have my own server and MANY sites on it, is I create
the custom 404 and then on that 404 page I look at the SERVER_NAME which
normally contains the DOMAIN NAME, depending on the domain name found, 
I use  to then send them to a specific 404 page for that site.

Just some ideas.
Kelly

-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:51 AM
To: CF-Talk
Subject: Custom error pages


I need to create 2 custom error pages for an application. One is for 404
errors (page not found), and the other is for any other server errors. Armed
with CFERROR and CFTRY/CFCATCH, does anyone have suggestions on how to
achieve this?

Thanks
Steve

Development Manager
Vardus Internet Solutions (SA)

Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549

Email: [EMAIL PROTECTED]
Website: www.vardus.com
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Custom error pages

2001-06-05 Thread Dylan Bromby

you can specifiy your own custom error pages using IIS if you're running it.

-Original Message-
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 7:51 AM
To: CF-Talk
Subject: Custom error pages


I need to create 2 custom error pages for an application. One is for 404
errors (page not found), and the other is for any other server errors. Armed
with CFERROR and CFTRY/CFCATCH, does anyone have suggestions on how to
achieve this?

Thanks
Steve

Development Manager
Vardus Internet Solutions (SA)

Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549

Email: [EMAIL PROTECTED]
Website: www.vardus.com
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists