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:

Friday brain fry (2001) Am I going senile? (Price recalc based on quantity) (1997) maximum characters in [username]? (2002) Serving images from databases (1998) off topic fetch vs PCS photomaster (1997) Emailer [cart] file names (1997) Links and Carriage Returns, Oh my! (2000) RE: Error -108 (1997) WebCatalog on Linux (2000) emailer on Windows Beta 18 (1997) RE: Still Learning (1997) Don't know if this is a sily question... (2003) Upload and WebCat (1998) Roundup function? (1997) Today's silly question is... (2007) writing db to disk (1997) How To (2003) WebDNA 6 (2004) Calculating Standard Deviation (2005) Protecting Images (2003)