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:

[OT] Google Cash (2004) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Formvariables and Sendmail? (2000) WCS Newbie question (1997) FW: WebDNA-Talk searchable? (1997) Scoping rules in WebDNA 4.0 (2000) Encrypting the seed (2001) Quit revisited (1997) Country & Ship-to address & other fields ? (1997) [WebDNA] GREP problem (2011) Off Topic: Help Wanted (1997) Order not created error (never mind) (1997) [WebDNA] line/Row Insert (2017) Question re: FlushDatabases (1997) No luck with taxes (1997) syntax question, not in online refernce (1997) Protect (1997) OT: Google (2002) CC verification (2001) Adding Multiple Items to Shopping Cart from a Resultspage (1997)