Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 31497 invoked by uid 500); 24 Jun 2003 13:20:46 -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 31433 invoked from network); 24 Jun 2003 13:20:45 -0000 Received: from mail17.messagelabs.com (62.231.131.67) by daedalus.apache.org with SMTP; 24 Jun 2003 13:20:45 -0000 X-VirusChecked: Checked X-Env-Sender: AidanWhitehall@Fairbanks.co.uk X-Msg-Ref: server-15.tower-17.messagelabs.com!1056460844!7629 X-StarScan-Version: 5.0.6; banners=fairbanks.co.uk,-,- Received: (qmail 1754 invoked from network); 24 Jun 2003 13:20:44 -0000 Received: from host217-37-201-145.in-addr.btopenworld.com (HELO whipsnade.TheZoo) (217.37.201.145) by server-15.tower-17.messagelabs.com with SMTP; 24 Jun 2003 13:20:44 -0000 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 24 Jun 2003 14:20:44 +0100 Message-ID: <237C58DB1104A24EB7EEDEECCFCE9D9764AF43@whipsnade.TheZoo> X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Equivalent of IIS custom 404 thread-index: AcM6U2qCl+t+khFAR/ySwmkd7PcWrg== From: "Aidan Whitehall" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Equivalent of IIS custom 404 Our web site is on a box that's running IIS 5.0. I wanted users to be able to enter easy-to-remember urls and redirect the browser appropriately, as on the Macromedia web site. To do this, I added a custom 404 in the /go/ folder which redirects any 404 responses to /go/index.cfm. That file checks the end of the url and redirects the browser from this: http://www.fairbanks.co.uk/go/casestudies to the less memorable: =20 http://www.fairbanks.co.uk/services/index.cfm?section=3Dcasestudy&text=3D= stu dy01 On the development machine, I've started running Apache and wanted to mimic this behaviour. I added this directive ErrorDocument 404 /go/index.cfm but that redirects http://localhost/go/casestudies to http://localhost/ Can anyone please let me know how to mimic the IIS Custom 404 functionality in Apache? Thanks! --=20 Aidan Whitehall Macromedia ColdFusion Developer Fairbanks Environmental Ltd +44 (0)1695 51775 Queen's Awards Winner 2003 ________________________________________________________________________ This=20e-mail=20has=20been=20scanned=20for=20all=20viruses=20by=20Star=20I= nternet.=20The service=20is=20powered=20by=20MessageLabs.=20For=20more=20information=20on= =20a=20proactive anti-virus=20service=20working=20around=20the=20clock,=20around=20the=20gl= obe,=20visit: http://www.star.net.uk ________________________________________________________________________ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org