Re: [WebDNA] Error: template...
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102272
interpreted = N
texte = Psi Prime, Matthew A Perosi wrote:> Anyone know how to get rid of the default error message created when a > page is not found?> > When the WebCatalogEngine is running I always get> "Error: template '/www/docs/xxxx.html' not found"> or> "Error: template '/www/docs/xxxx.tpl' not found"> which of course returns a HTTP 200 status,> but I need a 404 status instead.> > What's also strange is that I do set the 404 on all my sites to redirect > to an error.html page, but most of the time that Apache directive is > ignored.> > Linux> Apache 2.0.52> WebDNA 6Mathew, you can edit the errormessages.db to point *WebDNA notfounds* to your custom 404 page using [redirect..].. (or any WebDNA logic for that matter).I have seen entire sites based off of this hack. ;-)HTH,Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
Psi Prime, Matthew A Perosi wrote:> Anyone know how to get rid of the default error message created when a > page is not found?> > When the WebCatalogEngine is running I always get> "Error: template '/www/docs/xxxx.html' not found"> or> "Error: template '/www/docs/xxxx.tpl' not found"> which of course returns a HTTP 200 status,> but I need a 404 status instead.> > What's also strange is that I do set the 404 on all my sites to redirect > to an error.html page, but most of the time that Apache directive is > ignored.> > Linux> Apache 2.0.52> WebDNA 6Mathew, you can edit the errormessages.db to point *WebDNA notfounds* to your custom 404 page using [redirect..].. (or any WebDNA logic for that matter).I have seen entire sites based off of this hack. ;-)HTH,Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Donovan Brooke
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:
Detecting/limiting connections in the developer edition ... (2004)
Templates on Unix & CGI on Mac? (1997)
[WebDNA] Poll: Discussion Forum (2009)
Limiting user access to .tmpl files (1997)
[searchString] (1997)
Truncated value after space - refresh my memory.... (1997)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
problems with 2 tags (1997)
Re:2nd WebCatalog2 Feature Request (1996)
server side includes & webcatalog (2000)
Searching/sorting dates (1997)
E-mail loop ! (1997)
SQL speed issues (2001)
Force a search at the default.tmpl page? (1997)
[WebDNA] Rewrite url (2013)
Nesting format tags (1997)
ADMIN ACCESS (1999)
CAPTCHA system in webDNA (2005)
Advice on MacOS & TCP Connects (2000)
MacAuthorize and WebCatalog Questions (2000)