Re: [redirect..]

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67603
interpreted = N
texte = You could use [ReturnRaw] to specify the redirect type you want: [ReturnRaw]HTTP/1.0 301 Found Location: your_new_page.html [/ReturnRaw] -Dan On Wed, 28 Jun 2006 12:14:46 -0500 Donovan Brooke wrote: > Dan Strong wrote: > >> http://web-sniffer.net/ >> showed me that a page I redirect does a 302 ... >> -Dan >> >> >> On Wed, 28 Jun 2006 11:19:41 -0500 >> Donovan Brooke wrote: >> >>> Hello, >>> Does anyone know for sure if the [redirect..] context is a >>> "301" redirect? >>> >>> Donovan > > > Hmmm, in general, I guess I haven't had too many issues with > redirect... > > However, reading: > http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html > > redirect is quite diverse using method and expires. It would be > nice to be able to specify the type code (301,302,303 etc) > for fine tuning, (and method). > > [redirect url=[url]...[/url]&type=<3XX>&method=] > > > PHP's syntax: > header( "HTTP/1.1 301 Moved Permanently" ); > header( "Status: 301 Moved Permanently" ); > header( "Location: http://www.new-url.com/" ); > exit(0); > ?> > > > > SMSI, so a patch 'll be out in a week? > > ;-) I kid. > > Donovan > > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > > <- Web Development (specializing in eCommerce),-> > <- Desktop Publishing, Print Consulting, Labels -> > <- Glass Blowing, and Art Glass -> > > PH/FAX:> 1 (608) 835-2476 > Web:> http://www.egg.bz | http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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: [redirect..] ( "Dan Strong" 2006)
  2. Re: [redirect..] ( Gary Krockover 2006)
  3. Re: [redirect..] ( Donovan Brooke 2006)
  4. Re: [redirect..] ( "Dan Strong" 2006)
  5. [redirect..] ( Donovan Brooke 2006)
You could use [returnraw] to specify the redirect type you want: [returnraw]HTTP/1.0 301 Found Location: your_new_page.html [/ReturnRaw] -Dan On Wed, 28 Jun 2006 12:14:46 -0500 Donovan Brooke wrote: > Dan Strong wrote: > >> http://web-sniffer.net/ >> showed me that a page I redirect does a 302 ... >> -Dan >> >> >> On Wed, 28 Jun 2006 11:19:41 -0500 >> Donovan Brooke wrote: >> >>> Hello, >>> Does anyone know for sure if the [redirect..] context is a >>> "301" redirect? >>> >>> Donovan > > > Hmmm, in general, I guess I haven't had too many issues with > redirect... > > However, reading: > http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html > > redirect is quite diverse using method and expires. It would be > nice to be able to specify the type code (301,302,303 etc) > for fine tuning, (and method). > > [redirect url=[url]...[/url]&type=<3XX>&method=] > > > PHP's syntax: > header( "HTTP/1.1 301 Moved Permanently" ); > header( "Status: 301 Moved Permanently" ); > header( "Location: http://www.new-url.com/" ); > exit(0); > ?> > > > > SMSI, so a patch 'll be out in a week? > > ;-) I kid. > > Donovan > > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > > <- Web Development (specializing in eCommerce),-> > <- Desktop Publishing, Print Consulting, Labels -> > <- Glass Blowing, and Art Glass -> > > PH/FAX:> 1 (608) 835-2476 > Web:> http://www.egg.bz | http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > 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:

The Form authentication trick (2000) PCS Frames (1997) [OT] Bulk Email Software (2002) Plugin or CGI or both (1997) Nested Loops and SHOWIFs (1997) Database Updates (1997) Up and running ... at last !! (1997) WebCat2b13 Command Reference Doc error (1997) Merging databases (1997) Comments in db? (1997) Changes to the List (1997) [writefile] (1997) [Q] Novice's question (1997) [WebDNA] v.7 and eCommerce (2012) Logging purchases (1997) [WebDNA] postfix and dna (2011) [showif]/[hideif] question (1997) Problems with date math (1997) Shipping charges depending on tax rate? (1997) Almost a there but..bye bye NetCloak (1997)