Re: 404 error page issue

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 63740
interpreted = N
texte = Damn. He's right. That is what I meant and I didn't proof-read my code in the email. Sorry to lead you astray Paul. I trimmed down the code I am using where it's doing slightly more than what you are using it for and grabbed the wrong part(I'm also using my code to make "friendly" URLs as well as handle 404 errors). All apologies on that and hopefully you've got it working now. Thanks for catching that Jesse. -Dan On Mon, 2 Jan 2006 15:50:12 -0800 Jesse Proudman wrote: > You need to do [include 404b.html] and not [redirect 404b.html] . Redirect returns a 302 Moved >Temporarily header to the browser. > > On Jan 2, 2006, at 3:48 PM, paul wrote: > >> Hi Dan >> >> I am totally confused >> >> TemplateNotFound [showif [fileinfo file=404b.html][exists][/ >> fileinfo]=T] >> [redirect url=404b.html][/showif] [hideif [fileinfo >> file=404b.html][exists][/fileinfo]=T]Error: template '[param1]' not >> found[/hideif] >> >> appears to work fine, what I get is the error page I expect BUT >> >> Google gives >> >> We've detected that your 404 (file not found) error page returns a >> status of >> 200 (OK) in the header. >> >> Web-sniffer.net give >> >> HTTP Status Code: HTTP/1.0 302 Moved Temporarily >> Location: 404b.html CRLF >> Content-Length: 1 CRLF >> >> >> Now I am really confused >> >> I have IIS5 and Webcat 4.5.1 >> >> Really stuck!! >> >> THanks >> Paul >> >> > > -- > > Jesse Proudman > Blue Box Group, LLC > Personalized, Professional Web Solutions for Your Business > > p. +1.800.613.4305 x801 > e. jesse@blueboxgrp.com > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: 404 error page issue ( "Dan Strong" 2006)
  2. Re: 404 error page issue ( Jesse Proudman 2006)
  3. Re: 404 error page issue ( "Dan Strong" 2006)
  4. Re: 404 error page issue ( "paul" 2006)
  5. Re: 404 error page issue ( "Dan Strong" 2006)
  6. Re: 404 error page issue ( "paul" 2006)
  7. Re: 404 error page issue ( "Dan Strong" 2006)
  8. Re: 404 error page issue ( "paul" 2006)
  9. Re: 404 error page issue ( "Dan Strong" 2006)
  10. Re: 404 error page issue ( "paul" 2005)
Damn. He's right. That is what I meant and I didn't proof-read my code in the email. Sorry to lead you astray Paul. I trimmed down the code I am using where it's doing slightly more than what you are using it for and grabbed the wrong part(I'm also using my code to make "friendly" URLs as well as handle 404 errors). All apologies on that and hopefully you've got it working now. Thanks for catching that Jesse. -Dan On Mon, 2 Jan 2006 15:50:12 -0800 Jesse Proudman wrote: > You need to do [include 404b.html] and not [redirect 404b.html] . Redirect returns a 302 Moved >Temporarily header to the browser. > > On Jan 2, 2006, at 3:48 PM, paul wrote: > >> Hi Dan >> >> I am totally confused >> >> TemplateNotFound [showif [fileinfo file=404b.html][exists][/ >> fileinfo]=T] >> [redirect url=404b.html][/showif] [hideif [fileinfo >> file=404b.html][exists][/fileinfo]=T]Error: template '[param1]' not >> found[/hideif] >> >> appears to work fine, what I get is the error page I expect BUT >> >> Google gives >> >> We've detected that your 404 (file not found) error page returns a >> status of >> 200 (OK) in the header. >> >> Web-sniffer.net give >> >> HTTP Status Code: HTTP/1.0 302 Moved Temporarily >> Location: 404b.html CRLF >> Content-Length: 1 CRLF >> >> >> Now I am really confused >> >> I have IIS5 and Webcat 4.5.1 >> >> Really stuck!! >> >> THanks >> Paul >> >> > > -- > > Jesse Proudman > Blue Box Group, LLC > Personalized, Professional Web Solutions for Your Business > > p. +1.800.613.4305 x801 > e. jesse@blueboxgrp.com > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Dan Strong"

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:

What do you charge? (1998) WebCat2 beta FTP site (1997) can WC render sites out? (1997) RequiredFields template (1997) Grant, please help me ... (1997) Shipping charge question (2003) test mail (2004) math problems (2000) A question on sub-categories (1997) Error: this shopping cart has already been submitted (2003) Sorting by date (1997) Date problems (1997) (1997) Search/sort in URL Was: GuestBook example (1997) [WebDNA] Connect to MS SQL (2013) Help formatting search results w/ table (1997) suggestions for a good text editor on windows? (2005) More ways to search the docs (1998) Sku numbers (1997) Sorting search results (1998)