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:
Trouble with formula.db (1997)
Forms Search Questions (1997)
# fields limited? (1997)
How can I Add several Items into the cart at once? (1997)
[username][password] not showing up! HELP! (1999)
shipcost (1997)
GuestBook example (1997)
default value from Lookup (was Grant, please help me) (1997)
Upcoming 2.1 Release and PCS Committment (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
PCS Customer submissions ? (1997)
Possible Bug in 2.0b15.acgi (1997)
Help! WebCat2 bug (1997)
Multiple Ad databases? (1997)
WebCatalog2 Feature Feedback (1996)
Test (2001)
Almost Real Time (2002)
Converting SQL Microtime to Date and Time (2003)
Creating 404 Not Found pages (1999)
Append command (2000)