Hi guys,

I'm using a custom 404 page to read a few specific urls and then forward them to the appropriate page. However, more times than not, I get a "Network is busy" message. I then hit refresh, and the page comes up as it should have the first time.

Here are two urls which should call this 404 page and then be rerouted:
www.quickverse.com/install
www.quickverse.com/qvupdates

I think the problem lies in my code. Maybe the page is returning part of an error message first, so the browser uses that instead of doing the forwarding. Does anyone know why this is happening? Here's my code...

<cfscript>
requrl = ListGetAt(query_string, 2, "; "); // The first element is 404, and the second is the requested URL.
simpleurl = ListDeleteAt(requrl, 1, "/");
</cfscript>
<cfif REFindNoCase("w?w?w?\.?quickverse\.com/install/?", simpleurl)>
<!--- QuickVerse Installation Help --->
<cflocation url="http://www.quickverse.com/products/quickverse/install_main.cfm"; addtoken="No">
<cfelseif REFindNoCase("w?w?w?\.?quickverse\.com/qv8faq/?", simpleurl)>
<!--- QuickVerse 8 FAQ --->
<cflocation url="http://www.quickverse.com/products/quickverse/"; addtoken="No">
<cfelseif REFindNoCase("w?w?w?\.?quickverse\.com/qvupdates/?", simpleurl)>
<!--- QuickVerse Updates --->
<cflocation url="http://www.quickverse.com/products/quickverse/updates.cfm"; addtoken="No">
</cfif>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on Oct 17, 2002 5:06:36 PM -->
<html>
<head>
<title>404 - Page does not exist</title>
.......



-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to