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 = 52354
interpreted = N
texte = Thanks Ken and Aaron the solution I found was the following. 1. Make error files with a name like 404.ehtml and suffix map this to text/html 2. In the errormessages.db file change the error message to: TemplateNotFoundError: '[redirect /errors/404.ehtml]' 3. Upload a folder into each domain called errors with the 404.ehtml file in it. 4. Flush databases and you are set. Best, Jeff Logan >>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? > >Redirect to a page with a non-webdna suffix, then webstar will handle >the error itself. > >-- > >Sincerely, >Kenneth Grome >------------------------------------------------------------- >Outsource your WebDNA programming for $18 an hour or less! >------------------------------------------------------------- > >------------------------------------------------------------- >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/ ------------------------------------------------------------- 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)
Thanks Ken and Aaron the solution I found was the following. 1. Make error files with a name like 404.ehtml and suffix map this to text/html 2. In the errormessages.db file change the error message to: TemplateNotFoundError: '[redirect /errors/404.ehtml]' 3. Upload a folder into each domain called errors with the 404.ehtml file in it. 4. Flush databases and you are set. Best, Jeff Logan >>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? > >Redirect to a page with a non-webdna suffix, then webstar will handle >the error itself. > >-- > >Sincerely, >Kenneth Grome >------------------------------------------------------------- >Outsource your WebDNA programming for $18 an hour or less! >------------------------------------------------------------- > >------------------------------------------------------------- >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/ ------------------------------------------------------------- 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/ Jeff Logan

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:

Extended [ConvertChars] (1997) Help formatting search results w/ table (1997) Test (2003) chat opinion ... (2002) No Access warning when caching HTML files (1997) $Replace with [founditems] (1997) Can I invoke an ssi plugin from within a webcat page (1997) still having search problem, please help :) (2004) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [Feature Request] Stronghold security variables that cannot beforce as formvariables (2000) [WebDNA] Authenticating with Twitter OAuth API v1.1 (2013) WebCat2.0 acgi vs plugin (1997) The future of WebCatalog is coming with 4.0... (2000) WebCatalog/WebMerchant bug? (1999) Re:Remote stockroom ? (1998) Possible Bug in 2.0b15.acgi (1997) Limiting user access to .tmpl files (1997) Using Plug-In while running 1.6.1 (1997) how to determine the actual file format of an image file? (2002) default value from Lookup (was Grant, please help me) (1997)