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/html2. 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 filein 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:
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/html2. 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 filein 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:
WebCat2 several catalogs? (1997)
WebCat2 - [format thousands] (1997)
SiteEdit NewFile.html ? (1997)
Using Plug-In while running 1.6.1 (1997)
PIXO with cometsite ... and/or other plugins (1998)
[format 40s]text[/format] doesn't work (1997)
[include ...] behavior (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Public beta 4 of WebCatalog 4.0 is now available (2000)
Web Delivery Page concept (1997)
Configuring E-mail (1997)
setting values (1998)
Sending emails (went[ot] ) (2002)
emailer w/F2 (1997)
search question (2001)
[Webcat 2]Next (1997)
Using [showif] within [lineitems] (2000)
Mac List Servers (was: Duplicate Hell) (1999)
can WC render sites out? (1997)
from product to cart to orders folder in one operation? (2000)