Re: [WebDNA] Error: template...

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102271
interpreted = N
texte = ...which will always be a default apache 404, or a bespoke 200, but I think what Matthew is asking is whether there is a way of having a bespoke 404 page like the guardian and express websites do, and which google states is now best practice. http://www.guardian.co.uk/asdfafdasadsf http://www.express.co.uk/asdfafdasadsf I have tried to manipulate the headers with our custom webdna 404s but with little success. Anyone managed to crack this nut? TC On 27 Mar 2009, at 13:49, christophe.billiottet@webdna.us wrote: > If you set WebDNA to handle .html suffixe in the apache > configuration, then any request for an .html file will be forwarded > by apache to the WebDNA engine. Apache then returns what the WebDNA > engine says.... > > > chris > > On Mar 27, 2009, at 10:41, 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 6 >> >> Matthew A Perosi JewelerWebsites.com >> ------------------------------by Psi Prime------- >> Senior Web Developer 323 Union Blvd. >> Totowa, NJ 07512 >> Pre-Sales: 888.872.0274 >> Service: 973.413.8213 >> Training: 973.413.8214 >> Fax: 973.413.8217 >> >> http://www.jewelerwebsites.com >> http://en.wikipedia.org/wiki/Psi_Prime%2C_Inc >> http://www.psiprime.com >> >> >> >> --------------------------------------------------------- >> 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 >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Error: template... (Donovan Brooke 2009)
  2. Re: [WebDNA] Error: template... (Donovan Brooke 2009)
  3. Re: [WebDNA] Error: template... (Toby Cox 2009)
  4. Re: [WebDNA] Error: template... (Paul Willis 2009)
  5. Re: [WebDNA] Error: template... (christophe.billiottet@webdna.us 2009)
  6. [WebDNA] Error: template... ("Psi Prime, Matthew A Perosi " 2009)
...which will always be a default apache 404, or a bespoke 200, but I think what Matthew is asking is whether there is a way of having a bespoke 404 page like the guardian and express websites do, and which google states is now best practice. http://www.guardian.co.uk/asdfafdasadsf http://www.express.co.uk/asdfafdasadsf I have tried to manipulate the headers with our custom webdna 404s but with little success. Anyone managed to crack this nut? TC On 27 Mar 2009, at 13:49, christophe.billiottet@webdna.us wrote: > If you set WebDNA to handle .html suffixe in the apache > configuration, then any request for an .html file will be forwarded > by apache to the WebDNA engine. Apache then returns what the WebDNA > engine says.... > > > chris > > On Mar 27, 2009, at 10:41, 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 6 >> >> Matthew A Perosi JewelerWebsites.com >> ------------------------------by Psi Prime------- >> Senior Web Developer 323 Union Blvd. >> Totowa, NJ 07512 >> Pre-Sales: 888.872.0274 >> Service: 973.413.8213 >> Training: 973.413.8214 >> Fax: 973.413.8217 >> >> http://www.jewelerwebsites.com >> http://en.wikipedia.org/wiki/Psi_Prime%2C_Inc >> http://www.psiprime.com >> >> >> >> --------------------------------------------------------- >> 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 >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ Toby Cox

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:

Why is this not false? (2001) WebCat 5 Intranet Question (2003) Great product and great job ! (1997) WCS Newbie question (1997) Am I going senile? (Price recalc based on quantity) (1997) Support ?? (1997) Search Combining Problem (2004) random prob (2003) frames & carts (1997) extending webcatalog (1997) Return records from another (1997) Quit revisited (1997) Interpreting WebDNA in javascript (2006) WebCat2b12--[searchstring] bug (1997) SV: Mass Mail (2000) OT: Need some DVD advice (2006) [SHOWNEXT] Examples (1997) Dates (1998) minimalist shopping cart. (1997) Practice runs ? (1997)