Re: [WebDNA] Re: Custom error pages on Apache?
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107442
interpreted = N
texte = We did this by editing the ErrorMessages.db and changed the first line =from...TemplateNotFoundError: template '[param1]' not foundTo=85TemplateNotFound[include file=3Derror.txt]So if the template isn't found WebDNA goes the the error message db it =then is told to look for the error.txt file for the site, includes it =and whatever code is in there. All parameters are carried forward.PaulOn 28 Sep 2011, at 03:40, Kenneth Grome wrote:> Sorry, forgot to mention that the client's machine runs=20> WebDNA 6.0 if I'm not mistaken.>=20> Sincerely,> Kenneth Grome>=20>=20>=20>> Client wants a custom error page that receives not only>> the original (bad) URL requested by the visitor, but>> also the name=3Dvalue parameters passed along with that>> URL.>>=20>> Someone must have gotten this working on Apache by now,>> right? If you know how please post the steps here,>> thanks.>>=20>> Sincerely,>> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
We did this by editing the ErrorMessages.db and changed the first line =from...TemplateNotFoundError: template '[param1]' not foundTo=85TemplateNotFound[include file=3Derror.txt]So if the template isn't found WebDNA goes the the error message db it =then is told to look for the error.txt file for the site, includes it =and whatever code is in there. All parameters are carried forward.PaulOn 28 Sep 2011, at 03:40, Kenneth Grome wrote:> Sorry, forgot to mention that the client's machine runs=20> WebDNA 6.0 if I'm not mistaken.>=20> Sincerely,> Kenneth Grome>=20>=20>=20>> Client wants a custom error page that receives not only>> the original (bad) URL requested by the visitor, but>> also the name=3Dvalue parameters passed along with that>> URL.>>=20>> Someone must have gotten this working on Apache by now,>> right? If you know how please post the steps here,>> thanks.>>=20>> Sincerely,>> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Paul Willis
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:
[authenticate] (1999)
.txt file (2000)
New to WebCat, Help. (1998)
[OT] Mistakerosoft (2003)
AppleScript: Tell application:app location? (1998)
Need formum software... (2003)
More than one db with the same namn (was: WC2f3) (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
Beta 3.0.3 fix for serial# problem (Mac) (1998)
Blog Software (2006)
WebCat2b13MacPlugIn - More limits on [include] (1997)
ListFiles (1998)
Setting up shop (1997)
WAS Strange non-display problem, now BAD MATH (2002)
WebDNA vs SQL ? (2002)
WebCat ignoring Shopping Cart Folder (2001)
Sorting Results (1999)
shipCost not working v2.1b4 (1997)
Multiple prices (1997)
Re2: frames & carts (1997)