Re: Best way to handle 404 errors with WebDNA and Web* V

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52369
interpreted = N
texte = >Since I have all pages that end with .html processing in WebDNA if a page >does not exist I get a 404 error message but it is from WebCatalog and >gives nothing. > >How can I have WebStar V give the error message and not WebDNA? Put this in your errormessages.db: [HIDEIF [FileInfo /errors/404.html][Exists][/FileInfo]=3DT][INCLUDE= file=3D^/errors/ 404.html][/HIDEIF][SHOWIF [FileInfo /errors/404.html][Exis= ts][/FileInfo]=3DT][INCLUDE file=3D/errors/404.html][/SHOWIF] It's also a good idea to return a 404 status code in your error page. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Best way to handle 404 errors with WebDNA and Web* V ( Alain Russell 2003)
  2. Re: Best way to handle 404 errors with WebDNA and Web* V ( Christer Olsson 2003)
  3. Re: Best way to handle 404 errors with WebDNA and Web* V ( Jeff Logan 2003)
  4. Re: Best way to handle 404 errors with WebDNA and Web* V ( Clint Davis 2003)
  5. Re: Best way to handle 404 errors with WebDNA and Web* V ( Jeff Logan 2003)
  6. Re: Best way to handle 404 errors with WebDNA and Web* V ( Kenneth Grome 2003)
  7. Re: Best way to handle 404 errors with WebDNA and Web* V ( Aaron Lynch 2003)
  8. Best way to handle 404 errors with WebDNA and Web* V ( Jeff Logan 2003)
>Since I have all pages that end with .html processing in WebDNA if a page >does not exist I get a 404 error message but it is from WebCatalog and >gives nothing. > >How can I have WebStar V give the error message and not WebDNA? Put this in your errormessages.db: [HIDEIF [FileInfo /errors/404.html][Exists][/FileInfo]=3DT][INCLUDE= file=3D^/errors/ 404.html][/HIDEIF][SHOWIF [FileInfo /errors/404.html][Exis= ts][/FileInfo]=3DT][INCLUDE file=3D/errors/404.html][/SHOWIF] It's also a good idea to return a 404 status code in your error page. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Christer Olsson

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:

Tab Charactor (1997) FEW QUESTIONS (1997) [WebDNA] Store module/site (2012) Web Catalog 2 demo (1997) expire headers in mac305b11 (1999) Thanks Grant (1997) t or f (1997) WebCatalog Hosting (1996) Problem (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Plugin or CGI or both (1997) Banners (1997) WebCat2 as a chat server? (1997) WebCatalog for Postcards ? (1997) shrink-wrapped version out yet? (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) FEATURE REQUEST: Auto Resizing of images (2002) [WebDNA] can webdna set the email header (w/[sendmail]) that (2012) Xserve Recommendations (2003) grep for search, not replace (2002)