RE: [WebDNA] How to code a 301 redirect
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100375
interpreted = N
texte = Can anyone tell me how to unsubscribe from this email list?Sue Bleschemail sblesch@nac-mi.com=20-----Original Message-----From: Dan Strong [mailto:webdna@danstrong.com]=20Sent: Monday, July 21, 2008 1:20 PMTo: talk@webdna.usSubject: Re: [WebDNA] How to code a 301 redirectI 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 lowlevel, but with great=20>power comes great responsibility ;)>=20> The most common source of problems when writing HTTP headers isforgetting that the HTTP spec=20>requires cr/lf, not just cr for linebreaks. If you're going to writeyour 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:
Can anyone tell me how to unsubscribe from this email list?Sue Bleschemail sblesch@nac-mi.com=20-----Original Message-----From: Dan Strong [mailto:webdna@danstrong.com]=20Sent: Monday, July 21, 2008 1:20 PMTo: talk@webdna.usSubject: Re: [WebDNA] How to code a 301 redirectI 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 lowlevel, but with great=20>power comes great responsibility ;)>=20> The most common source of problems when writing HTTP headers isforgetting that the HTTP spec=20>requires cr/lf, not just cr for linebreaks. If you're going to writeyour 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
"Sue Blesch"
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:
Been meaning to ask... (1997)
[OT] Friday Time Waster (2003)
Reversed words (1997)
no global [username] or [password] displayed ... (1997)
WebDNA Quick Reference (Reserved Words) (2000)
[Webcat 2]Next (1997)
[Sum] function? (1997)
WCS Newbie question (1997)
WCS Newbie question (1997)
Don't do this! (was: Crashing Type 3) (1999)
Tcp connect (2002)
WTB WEBDNA Version 4.5 for OS X (2003)
Format of Required fields error message (1997)
Initiating NewCart (1997)
[ShowNext] (2007)
price carry over (1997)
lookup command (1999)
Suffix or Line? (1999)
No Wanna Duppys (1998)
Unix webcat perms & multiple versions of same db in cache issue (2000)