Re: Error trapping when a file is not found

2004-07-06 Thread Thomas Chiverton
On Tuesday 06 Jul 2004 02:02 am, Todd Ashworth wrote:
 In IIS, you can go into the Application Mappings and set an option to
 Check if the file exists.Is there a similar option in Apache?

Well, Yes.
What would you want to happen if the file was/was not found ?

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Error trapping when a file is not found

2004-07-06 Thread Todd
Run a custom error page that otherwise doesn't run if the error is a plain
404.

- Original Message - 
From: Thomas Chiverton [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, July 06, 2004 11:17 AM
Subject: Re: Error trapping when a file is not found

 On Tuesday 06 Jul 2004 02:02 am, Todd Ashworth wrote:
  In IIS, you can go into the Application Mappings and set an option to
  Check if the file exists.Is there a similar option in Apache?

 Well, Yes.
 What would you want to happen if the file was/was not found ?

 -- 
 Tom Chiverton
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Error trapping when a file is not found

2004-07-06 Thread Dave Watts
 In IIS, you can go into the Application Mappings and set an 
 option to Check if the file exists. Is there a similar 
 option in Apache?

I believe this is the default behavior in Apache, actually. I'm not sure if
it can be changed, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Error trapping when a file is not found

2004-07-06 Thread Thomas Chiverton
On Tuesday 06 Jul 2004 16:38 pm, Todd wrote:
   In IIS, you can go into the Application Mappings and set an option to
   Check if the file exists.Is there a similar option in Apache?
 
  Well, Yes.
  What would you want to happen if the file was/was not found ?
 Run a custom error page that otherwise doesn't run if the error is a plain

You want the ErrorDocument directive, I think, though I'm not sure what you 
mean by running a custom error page, that doesn't run if the error is a 404.
404 *is* file not found.

There is a missing template handler option in the CF administrator too, but 
that cana only intercept requests for file types that CF is bound to.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Error trapping when a file is not found

2004-07-05 Thread Todd Ashworth
In IIS, you can go into the Application Mappings and set an option to Check
if the file exists.Is there a similar option in Apache?

Todd
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]