Re: [WebDNA] 404 Pages

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111608
interpreted = N
texte = This is a multi-part message in MIME format. --------------070104070405070909030501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I changed the TemplateNotFound entry in the ErrorMessages.db file to this: [showif [url][param1][/url]^[url].inc[/url]]Error: include file: '[param1]' not found...[/showif][hideif [url][param1][/url]^[url].inc[/url]][ReturnRaw]HTTP/1.2 404 [showif [fileinfo /error.html][exists][/fileinfo]=T][include file=/error.html][/showif][unurl]%0D%0A%0D%0A[/unurl][/ReturnRaw][/hideif] I'm running the server version of WebDNA and had to change that for the MASTER and all SANDBOXES. -Matt On 9/23/2014 6:01 AM, Steve Craig wrote: > Hi All > > I'm sure this has been spoken about before but I can't seem to find an > answer. My sites use a CMS and tend to be based on using the page not > found triggering the ErrorMessages.db to look up a site database etc. > > When a page is not in my database I put up a standard 404 looking page > but it still sends out a 200 response and I'm trying to find out how I > can send a genuine 404 response. > > Can anyone tell me what I would need to add to get this to work, is it > possible? > > Cheers > ======================================== > Steve Craig - Asylum Interactive > Tel +44 1330 860550 > ======================================== > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > ======================================== > > > > --------------------------------------------------------- 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 -- Matthew A Perosi Corporate Consultant Mobile Marketing Expert Senior Web Developer SEO Analyst & Educator matt@psiprime.com Psi Prime, Inc. 323 Union Blvd. Totowa, NJ 07512 Direct: 888.872.0274 Fax: 888.488.5924 http://www.perosi.com --------------070104070405070909030501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
I changed the TemplateNotFound entry in the ErrorMessages.db file to this:

[showif [url][param1][/url]^[url].inc[/url]]Error: include file: '[param1]' not found...[/showif][hideif [url][param1][/url]^[url].inc[/url]][ReturnRaw]HTTP/1.2 404 [showif [fileinfo /error.html][exists][/fileinfo]=T][include file=/error.html][/showif][unurl]%0D%0A%0D%0A[/unurl][/ReturnRaw][/hideif]

I'm running the server version of WebDNA and had to change that for the MASTER and all SANDBOXES.

-Matt


On 9/23/2014 6:01 AM, Steve Craig wrote:
Hi All

I'm sure this has been spoken about before but I can't seem to find an answer. My sites use a CMS and tend to be based on using the page not found triggering the ErrorMessages.db to look up a site database etc. 

When a page is not in my database I put up a standard 404 looking page but it still sends out a 200 response and I'm trying to find out how I can send a genuine 404 response.

Can anyone tell me what I would need to add to get this to work, is it possible?

Cheers
========================================
Steve Craig - Asylum Interactive
Tel +44 1330 860550
========================================
http://www.asylumweb.com
Email: steve@asylumweb.com
Skype: s.craig - iChat: steve.craig
========================================



--------------------------------------------------------- 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

-- Matthew A PerosiCorporate ConsultantMobile Marketing ExpertSenior Web DeveloperSEO Analyst & Educatormatt@psiprime.comPsi Prime, Inc.323 Union Blvd.Totowa, NJ 07512Direct:  888.872.0274Fax:     888.488.5924http://www.perosi.com
--------------070104070405070909030501-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] 404 Pages (Steve Craig 2014)
  2. Re: [WebDNA] 404 Pages ("Psi Prime Inc, Matthew A Perosi " 2014)
  3. [WebDNA] 404 Pages (Steve Craig 2014)
This is a multi-part message in MIME format. --------------070104070405070909030501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I changed the TemplateNotFound entry in the ErrorMessages.db file to this: [showif [url][param1][/url]^[url].inc[/url]]Error: include file: '[param1]' not found...[/showif][hideif [url][param1][/url]^[url].inc[/url]][returnraw]HTTP/1.2 404 [showif [fileinfo /error.html][exists][/fileinfo]=T][include file=/error.html][/showif][unurl]%0D%0A%0D%0A[/unurl][/ReturnRaw][/hideif] I'm running the server version of WebDNA and had to change that for the MASTER and all SANDBOXES. -Matt On 9/23/2014 6:01 AM, Steve Craig wrote: > Hi All > > I'm sure this has been spoken about before but I can't seem to find an > answer. My sites use a CMS and tend to be based on using the page not > found triggering the ErrorMessages.db to look up a site database etc. > > When a page is not in my database I put up a standard 404 looking page > but it still sends out a 200 response and I'm trying to find out how I > can send a genuine 404 response. > > Can anyone tell me what I would need to add to get this to work, is it > possible? > > Cheers > ======================================== > Steve Craig - Asylum Interactive > Tel +44 1330 860550 > ======================================== > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > ======================================== > > > > --------------------------------------------------------- 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 -- Matthew A Perosi Corporate Consultant Mobile Marketing Expert Senior Web Developer SEO Analyst & Educator matt@psiprime.com Psi Prime, Inc. 323 Union Blvd. Totowa, NJ 07512 Direct: 888.872.0274 Fax: 888.488.5924 http://www.perosi.com --------------070104070405070909030501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
I changed the TemplateNotFound entry in the ErrorMessages.db file to this:

[showif [url][param1][/url]^[url].inc[/url]]Error: include file: '[param1]' not found...[/showif][hideif [url][param1][/url]^[url].inc[/url]][returnraw]HTTP/1.2 404 [showif [fileinfo /error.html][exists][/fileinfo]=T][include file=/error.html][/showif][unurl]%0D%0A%0D%0A[/unurl][/ReturnRaw][/hideif]

I'm running the server version of WebDNA and had to change that for the MASTER and all SANDBOXES.

-Matt


On 9/23/2014 6:01 AM, Steve Craig wrote:
Hi All

I'm sure this has been spoken about before but I can't seem to find an answer. My sites use a CMS and tend to be based on using the page not found triggering the ErrorMessages.db to look up a site database etc. 

When a page is not in my database I put up a standard 404 looking page but it still sends out a 200 response and I'm trying to find out how I can send a genuine 404 response.

Can anyone tell me what I would need to add to get this to work, is it possible?

Cheers
========================================
Steve Craig - Asylum Interactive
Tel +44 1330 860550
========================================
http://www.asylumweb.com
Email: steve@asylumweb.com
Skype: s.craig - iChat: steve.craig
========================================



--------------------------------------------------------- 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

-- Matthew A PerosiCorporate ConsultantMobile Marketing ExpertSenior Web DeveloperSEO Analyst & Educatormatt@psiprime.comPsi Prime, Inc.323 Union Blvd.Totowa, NJ 07512Direct:  888.872.0274Fax:     888.488.5924http://www.perosi.com
--------------070104070405070909030501-- "Psi Prime Inc, Matthew A Perosi "

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:

Version clarification, please ... (1998) [WebDNA] [OT] the "Work in progress" thread. (2009) alternate location for cookies (2001) triggers.db (1999) Major Security Hole (solution with Welcome) (1998) Webcat 2.0.1 date math bug -> Crash! (1997) Emailer (1997) cart limit (2002) WebTen? (1997) The Form authentication trick (2000) when is date system date or order date? (1997) Date search - yes or no (1997) Creating folders and deleting files (1997) Hiding HTML and page breaks (1997) This [search] worked before update to 4.5.1 (2003) WebMerchant 1.6 and SHTML (1997) WebCatalog 4.0 (2000) acrobat -> wc (1998) [WebDNA] [BULK] WebDNA Windows Install (2016) Problems getting parameters passed into email. (1997)