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 found To=85 TemplateNotFound[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. Paul On 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:

    
  1. [WebDNA] Custom error pages on Apache? (Kenneth Grome 2011)
We did this by editing the ErrorMessages.db and changed the first line = from... TemplateNotFoundError: template '[param1]' not found To=85 TemplateNotFound[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. Paul On 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:

Ok here is a question? (1997) Fwd: Problems with Webcatalog Plug-in (1997) test (2002) Oracle XE (2006) ReturnRaw and redirect (1997) search context w shownext works! (1997) Cancel Subscription (1996) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Shed some light on web delivery? (2000) RAW=T..Strange behaviour (2000) covertchars db to keep CR's, but not new ones (2002) Include (1998) No luck with taxes (1997) encripted storage (1998) Resume Catalog ? (1997) [WebDNA] ONLY the FIRST continuous run of numeric chars? (2008) RE: Error reading data -1 (1997) WebCatalog Use Question (1997) Webcatalog quitting (1997) Summing fields (1997)