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 the default response with something using [ReturnRaw] to give a 404.The only problem might be with newlines, which are required in the MIME headers, but might screw up your database. Using an [include] instead of coding directly into ErrorMessages.db should take care of that problem, I think.-Daveo--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
  1. Re: Creating 404 Not Found pages (Dale LaFountain 1999)
  2. Re: Creating 404 Not Found pages (Gil Poulsen 1999)
  3. Re: Creating 404 Not Found pages (Mike_Davis 1999)
  4. Re: Creating 404 Not Found pages (Dale LaFountain 1999)
  5. Re: Creating 404 Not Found pages (Dale LaFountain 1999)
  6. Re: Creating 404 Not Found pages (Luke Melia 1999)
  7. Re: Creating 404 Not Found pages (Dave MacLeay 1999)
  8. Creating 404 Not Found pages (Gil Poulsen 1999)
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 the default response with something using [returnraw] to give a 404.The only problem might be with newlines, which are required in the MIME headers, but might screw up your database. Using an [include] instead of coding directly into ErrorMessages.db should take care of that problem, I think.-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:

WebSTAR 2.1 freezes my Mac (1997) Need help with form (1998) Appending Information from one db to another (1998) WC2f3 (1997) Re:multiple digests, please stop (1997) WebMerchant 1.6 and https (1997) Stop the madness. (1997) jpg and gif format thumbnails (2004) Trigger Happy (2005) Migrating 4.0.2 to 4.5 (2002) sort without the or a (1998) show all problem (1997) Problems appending to database (1997) Strange search... (2001) Cookie still not working (1999) Calculating multiple shipping... (1997) [OT] Happy Turkey Day! (2003) DrWatson Error! (1999) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)