Re: Custom error files
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18752
interpreted = N
texte = >>Someone please remind me how you get rid of the template xxx not found>>message and replace it with a custom template.>>>>I changed my errormessages.db file to:>>TemplateNotFound [IncludeFile /error.tmpl]>>>>then at the root of each vhost I am setting up a error.tmpl file. Now when>>I try to access a bad url, it just shows: [IncludeFile /error.tmpl], it is>>not actually including the file.>>>>What am I doing wrong?>>I think the [include] files you reference inside the errormessages.db file are a special case -- they must be referenced relative to the errormessages.db file. Try that instead, I think it will work ... :)Sorry, I may have been wrong about this. One thing I didn't notice earlier is that you're using the wrong syntax -- it's include not includeFile -- so maybe if you make this change it will work properly.Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>>Someone please remind me how you get rid of the template xxx not found>>message and replace it with a custom template.>>>>I changed my errormessages.db file to:>>TemplateNotFound [IncludeFile /error.tmpl]>>>>then at the root of each vhost I am setting up a error.tmpl file. Now when>>I try to access a bad url, it just shows: [IncludeFile /error.tmpl], it is>>not actually including the file.>>>>What am I doing wrong?>>I think the
[include] files you reference inside the errormessages.db file are a special case -- they must be referenced relative to the errormessages.db file. Try that instead, I think it will work ... :)Sorry, I may have been wrong about this. One thing I didn't notice earlier is that you're using the wrong syntax -- it's include not includeFile -- so maybe if you make this change it will work properly.Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
WebDNA 5 - Privacy Issue (Built in sniffer) (2003)
ISAPI WC6a and Windows 2003 Web Edition (2006)
WebCatalog [FoundItems] Problem - LONG - (1997)
webcat- multiple selection in input field (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Ready,Set; Print! (1999)
A link and two command (1998)
PSC recommends what date format yr 2000??? (1997)
[WebDNA] triggers.db "next execute" fails to update (2012)
shopcost, unitshipcost (2002)
Country & Ship-to address & other fields ? (1997)
Encrypt/decrypt bug in 3.0.5b12 (1999)
[WebDNA] Encrypted templates (2009)
Installing WebCat under Linux Q (2000)
Major Security Hole IIS NT (1998)
Limiting [FoundItems] (2000)
Search syntax question (1998)
quantity minimum problem (1997)
Almost a there but..bye bye NetCloak (1997)
Windows: Apache in place of IIS (2002)