Re: [WebDNA] How to code a 301 redirect
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100369
interpreted = N
texte = I am using unix linebreaks (always have)... ok, thx.-DanOn Mon, 21 Jul 2008 10:10:32 -0700 Grant Hulbert
wrote:>> I don't think WebDNA ever was intended to manipulate/control the =20>> basic server software at such a deep level.>=20> It actually was designed to manipulate the output stream at that low l=evel, but with great=20>power comes great responsibility ;)>=20> The most common source of problems when writing HTTP headers is forget=ting that the HTTP spec=20>requires cr/lf, not just cr for linebreaks. If you're going to write y=our own headers, then you=20>must conform to the spec. Browsers will just ignore it otherwise.>=20> [!]> [/!][!]>=20>=20> ------------------------------------> ### 301 Redirect ###>=20> [/!][returnraw]HTTP/1.1 301 Moved Permanently> Location: http://revolutionaries.ie> > [!]>=20
Associated Messages, from the most recent to the oldest:
I am using unix linebreaks (always have)... ok, thx.-DanOn Mon, 21 Jul 2008 10:10:32 -0700 Grant Hulbert wrote:>> I don't think WebDNA ever was intended to manipulate/control the =20>> basic server software at such a deep level.>=20> It actually was designed to manipulate the output stream at that low l=evel, but with great=20>power comes great responsibility ;)>=20> The most common source of problems when writing HTTP headers is forget=ting that the HTTP spec=20>requires cr/lf, not just cr for linebreaks. If you're going to write y=our own headers, then you=20>must conform to the spec. Browsers will just ignore it otherwise.>=20> [!]> [/!][!]>=20>=20> ------------------------------------> ### 301 Redirect ###>=20> [/!][returnraw]HTTP/1.1 301 Moved Permanently> Location: http://revolutionaries.ie> > [!]>=20
"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:
Further on formula.db failure to calculate shipCost (1997)
Some ThankYou page problems (1997)
URL for Discussion Archive (1997)
Emailer help....! (1997)
Bug? (1997)
problems with 2 tags (1997)
WebDNA on Intel Mac (2006)
HELP WITH DATES (1997)
absolute paths for databases? (1997)
Transfering [text] variables (2000)
Online reference (1997)
sort problems....bug or brain fart? (1997)
Here's how to kill a Butler Database. (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Dreamweaver Extensions for WC (2000)
NT version (1997)
[WebDNA] 60% failure rate using replace in a loop (2010)
Displaying photo attached to first record (1997)
Locking up with WebCatalog... (1997)
Emailer choke (1997)