Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 45882 invoked from network); 22 Jan 2004 20:15:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Jan 2004 20:15:42 -0000 Received: (qmail 8775 invoked by uid 500); 22 Jan 2004 20:15:21 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 8762 invoked by uid 500); 22 Jan 2004 20:15:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 8749 invoked from network); 22 Jan 2004 20:15:21 -0000 Received: from unknown (HELO insite-user.datafast.net.au) (203.123.67.13) by daedalus.apache.org with SMTP; 22 Jan 2004 20:15:21 -0000 Received: from scum (adsl-2-043.QLD.dft.com.au [202.76.159.43]) by insite-user.datafast.net.au (Postfix) with ESMTP id 792AE233AB for ; Fri, 23 Jan 2004 07:15:23 +1100 (EST) Reply-To: From: "Taco Fleur" To: Date: Fri, 23 Jan 2004 06:15:02 +1000 Message-ID: <032601c3e124$6b850da0$18c9a8c0@scum> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0327_01C3E178.3D311DA0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Apache and ColdFusion .htaccess status code X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0327_01C3E178.3D311DA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have several files in the search engine, I moved these files, once = they are requested I'd like to return the appropriate status code and do the redirect, i.e. .htaccess redirect permanent /people.cfm http://www.tacofleur.com/index/people/ =20 The issue I am having is that apache sends the request (as far as I can tell) directly to CF, so it does not even check if the file exists etc. = and run the redirect. In IIS I know there is an option to actually check if the file exists = before sending the request to cf, I know its asking for much, but does Apache = have this? Or is there some other work-around? If so, how? =20 Taco Fleur Blog http://www.tacofleur.com/index/blog/ Methodology http://www.tacofleur.com/index/methodology/ 0421 851 786 Tell me and I will forget Show me and I will remember Teach me and I will learn=20 =20 ------=_NextPart_000_0327_01C3E178.3D311DA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
I have = several files=20 in the search engine, I moved these files, once they are requested I'd = like to=20 return the appropriate status code and do the redirect, = i.e.
.htaccess
redirect permanent=20 /people.cfm http://www.tacofleur.com/= index/people/
 
The = issue I am=20 having is that apache sends the request (as far as I can tell) directly = to CF,=20 so it does not even check if the file exists etc. and run the=20 redirect.
In IIS = I know there=20 is an option to actually check if the file exists before sending the = request to=20 cf, I know its asking for much, but does Apache have=20 this?
Or is = there some=20 other work-around? If so, how?
 
Taco=20 Fleur
Blog=20 http://www.tacofleu= r.com/index/blog/
Methodology=20 http://www.tacofleur= .com/index/methodology/
0421 851=20 786
Tell me and I will=20 forget
Show me and I will remember
Teach me and I will = learn
 
------=_NextPart_000_0327_01C3E178.3D311DA0--