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:
WebCatalog Technical Reference (1997)
New to WebCat, Help. (1998)
iTools5.0014 and up + WebCat = DownServer (2000)
WebCat2_Mac RETURNs in .db (1997)
Price characteristics? (1997)
Grouping Fields in Context (1999)
WebCat2final1 crashes (1997)
Cancel Subscription (1996)
Conveting Characters to Graphics (1997)
Order not created error (1997)
RE: E-mailer error codes (1997)
Shipping Costs Not Updating When Adding Items (1997)
[lookup] is case-sensitive, [lookup] is case sensitive... (2003)
PIXO support (1997)
target=_blank and form variables (1997)
newbie question about zip code search (2003)
Opinion: [input] should be called [output] ... (1997)
Re1000001: Setting up shop (1997)
using showpage and showcart commands (1996)
.tmp files (2000)