In the HTTP protocol a 404 Error is returned in the header, your return
might look like this...

HTTP/1.1 404 Not Found
Date: Wed, 29 Mar 2000 07:46:15 GMT
Server: Apache/1.3.9 (Unix)  (Red Hat/Linux)
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /ha.ge was not found on this server.<P>
</BODY></HTML>
Connection closed by foreign host.


_________________________________________________________
Pete Freitag
CFDEV.COM
Cold Fusion Developer Resources
http://www.cfdev.com/

-----Original Message-----
From: Seth Petry-Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 29, 2000 1:05 AM
To: [EMAIL PROTECTED]
Subject: Re: 404 checking


>I'm developing a portal for economists which provides a large database of
>sorted links. I'd like to implement some kind of scheduled broken link
>checker. Does anyone know of a custom tag that does this (I've searched
>Allaire's tag gallery)? If not, do you have any advice on how I should
write
>it?


This subject came up before, but I don't know if a definitive answer was
ever given.  Obviously, you will need to use CFHTTP to connect to all the
links, but that's where things get hairy.  Since many sites customize their
404 error pages, determining whether the resulting CFHTTP content represents
a 404 error or not is very difficult.

You could probably loop through all of the links and flag those that may be
404 errors and then have an employee manually check them.  This would give
you the greatest degree of certainty but would also cost manpower.

Regards,
Seth Petry-Johnson
Argo Enterprise and Associates



----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to