Re: I want a 404
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62084
interpreted = N
texte = Thanks for all suggestions. I put a redirect to a non-existant directory in the errormessages.dbWorks perfect so far. Thanks to one of my WebDNA hosting clients for the winning tip!Gregg--Gregg Luhring
On May 30, 2005, at 4:30 PM, Brian B. Burton wrote:> in your errormessages.bd reference an include file>> in the included file use the returnraw context to return an actual 404 > status code error message.>> Without extensive testing, i have no idea what browsers will/won't > show any actual message the follows the 404 status header.>> Brian B. Burton> Department of Redundancy Department> ---------------------------------------------------------------> Specializing in website design and development to make your customers > exclaim:> "Out of all the websites I visit, yours is the easiest to use!">>>>>>> On May 27, 2005, at 12:50 PM, Charles Kline wrote:>>>> On May 27, 2005, at 9:49 AM, Gregg Luhring wrote:>>>>> When I get the error message, "Error: template '[param1]' not found" >>> I would rather get a 404 from the server instead of the message from >>> the errormessages.db>>> Can someone help me?>>> Gregg>>> -->>>> Edit the ErrorMessage.db in the WebCatalogEngine directory.>> TemplateNotFound Error: template '[param1]' not found>> to whatever output you want instead of the Error: part. Can even be >> HTML as you will see from some of the other errors in there>>>>> -------------------------------------------------------------> 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 for all suggestions. I put a redirect to a non-existant directory in the errormessages.dbWorks perfect so far. Thanks to one of my WebDNA hosting clients for the winning tip!Gregg--Gregg Luhring On May 30, 2005, at 4:30 PM, Brian B. Burton wrote:> in your errormessages.bd reference an include file>> in the included file use the returnraw context to return an actual 404 > status code error message.>> Without extensive testing, i have no idea what browsers will/won't > show any actual message the follows the 404 status header.>> Brian B. Burton> Department of Redundancy Department> ---------------------------------------------------------------> Specializing in website design and development to make your customers > exclaim:> "Out of all the websites I visit, yours is the easiest to use!">>>>>>> On May 27, 2005, at 12:50 PM, Charles Kline wrote:>>>> On May 27, 2005, at 9:49 AM, Gregg Luhring wrote:>>>>> When I get the error message, "Error: template '[param1]' not found" >>> I would rather get a 404 from the server instead of the message from >>> the errormessages.db>>> Can someone help me?>>> Gregg>>> -->>>> Edit the ErrorMessage.db in the WebCatalogEngine directory.>> TemplateNotFound Error: template '[param1]' not found>> to whatever output you want instead of the Error: part. Can even be >> HTML as you will see from some of the other errors in there>>>>> -------------------------------------------------------------> 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/
Gregg Luhring
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:
[OT] Site test... (2003)
message forum question (2005)
Webcat bannersleuth Qs (2001)
WebCatalog2 Feature Feedback (1996)
RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998)
I've been thinking (2002)
SiteGuard Admin Feature ? (1997)
DON'T use old cart file! (1997)
WebCat2b12 - nesting [tags] (1997)
[WebDNA] Friday's.. WIP thread (2009)
Title not showing up in ViewOrder template (1998)
Secure server question (1997)
email [title] (1997)
WebCat2 - storing unformatted date data? (1997)
Fwd: [WebDNA] Fails to recognize comma-separated db (2010)
Apache not likeing WebDNA (2008)
frustrated with search (2001)
PCS Customer submissions ? (1997)
RE: Ongoing group search problems ... (1997)
Help! WebCat2 bug (1997)