Re: Creating 404 Not Found pages
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23576
interpreted = N
texte = At 7:32 AM 2/11/99, Gil Poulsen wrote:>This is not a big deal but just something that has been bothering me for>a while. With WebCat set to process all pages, spiders and robots from>search engines continue to index pages that have been deleted from my>site because they do not receive a 404 File Not Found error, as they>would if Web* was serving the error page. Is there any way to remedy this?You should be able to edit your ErrorMessages.db file and replace thedefault response with something using [ReturnRaw] to give a 404.The only problem might be with newlines, which are required in the MIMEheaders, but might screw up your database. Using an [include] instead ofcoding directly into ErrorMessages.db should take care of that problem, Ithink.-Daveo--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Associated Messages, from the most recent to the oldest:
At 7:32 AM 2/11/99, Gil Poulsen wrote:>This is not a big deal but just something that has been bothering me for>a while. With WebCat set to process all pages, spiders and robots from>search engines continue to index pages that have been deleted from my>site because they do not receive a 404 File Not Found error, as they>would if Web* was serving the error page. Is there any way to remedy this?You should be able to edit your ErrorMessages.db file and replace thedefault response with something using
[returnraw] to give a 404.The only problem might be with newlines, which are required in the MIMEheaders, but might screw up your database. Using an
[include] instead ofcoding directly into ErrorMessages.db should take care of that problem, Ithink.-Daveo--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Dave MacLeay
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Two prices in shoppingcart? (1997)
[template] tag (1998)
shoppingcart reload qty (1997)
HELP WITH DATES (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
SSL Config for Webten on Mac (1998)
WebCatalog 4.x Consultant Needed (2003)
Trapping Emailer Errors (2002)
& in Lookups (1997)
Doing what I can (2004)
Nesting format tags (1997)
Next (1997)
Separate SSL Server (1997)
{Grouping} Docs (1999)
graphic to appear automatically... (2000)
Error handling for accountNum (1997)
WebCat2 - [SendNews] (1997)
Server crash (1997)
restart needed???? (1997)
customizing the color of user's pages (1997)