Re: [WebDNA] 301 redirect

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112568
interpreted = N
texte = 150 Looking at your code again.. try this instead: [text]CRLF=3D[unurl]%0D%0A[/unurl][/text] [ReturnRaw]HTTP/1.1 301 Moved Permanently[CRLF]Location: = http://www.idfk.com.au/[CRLF][CRLF][/ReturnRaw] On Jan 26, 2016, at 8:50 PM, Stuart Tremain wrote: > Nice set of functions Donovan. >=20 > Basically this SHOULD work: >=20 > [Return][ReturnRaw]HTTP/1.1 301 Moved Permanently > Location: http://www.idfk.com.au/[/ReturnRaw][/Return] >=20 > Unfortunately it isn=92t working on my Ubuntu 12.04/Apache 2.2/WebDNA = 6.x server >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 27 Jan 2016, at 13:21, Donovan Brooke wrote: >>=20 >> Hi Stuart, >>=20 >> You can either use my function lib: >>=20 >> http://209.236.238.19/www-euca-us/downloads/euca_lib_rev2.3.inc.zip >>=20 >> (uses syntax such as: '[euca_301redirect goto=3D]=92) >>=20 >> Or, you can just grab the code out there as an example. >>=20 >> Sincerely, >> Donovan >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> On Jan 26, 2016, at 7:57 PM, Stuart Tremain = wrote: >>=20 >>> I have been reading some old posts about WSC =91fixing=92 the = redirect in WebDNA,=20 >>>=20 >>> "Functionally, "[redirect]" in WebDNA works fine, and has on all = platforms. By default, it creates a temporary redirect, which isn't = always what you want for SEO reasons. WSC has fixed the ability to make = 301 redirects with the latest beta's in both WebDNA Server and WebDNA = FastCGI." >>>=20 >>>=20 >>> However I can=92t find any mention of it in the docs: >>>=20 >>> http://www.webdna.us/page.dna?numero=3D204 >>>=20 >>> How do I specify a 301 redirect as opposed to a 307 ? >>>=20 >>> What version is this available in ? >>>=20 >>>=20 >>> Kind regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] 301 redirect ("Matthew A Perosi, Psi Prime" 2017)
  2. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  3. Re: [WebDNA] 301 redirect (Brian Burton 2016)
  4. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  5. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  6. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  7. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  8. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  9. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  10. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  11. Re: [WebDNA] 301 redirect (Stuart Tremain 2016)
  12. [WebDNA] 301 redirect (Stuart Tremain 2016)
  13. Re: [WebDNA] 301 redirect (Donovan Brooke 2016)
  14. Re: [WebDNA] 301 redirect (Govinda 2010)
  15. Re: [WebDNA] 301 redirect (Tom Duke 2010)
  16. [WebDNA] 301 redirect (Stuart Tremain 2010)
  17. Re: [WebDNA] 301 redirect on linux (Kenneth Grome 2010)
  18. Re: [WebDNA] 301 redirect on linux (Donovan Brooke 2010)
  19. Re: [WebDNA] 301 redirect on linux (Tom Duke 2010)
  20. Re: [WebDNA] 301 redirect on linux (Kenneth Grome 2010)
  21. [WebDNA] 301 redirect on linux (Tom Duke 2010)
150 Looking at your code again.. try this instead: [text]CRLF=3D[unurl]%0D%0A[/unurl][/text] [returnraw]HTTP/1.1 301 Moved Permanently[CRLF]Location: = http://www.idfk.com.au/[CRLF][CRLF][/ReturnRaw] On Jan 26, 2016, at 8:50 PM, Stuart Tremain wrote: > Nice set of functions Donovan. >=20 > Basically this SHOULD work: >=20 > [return][returnraw]HTTP/1.1 301 Moved Permanently > Location: http://www.idfk.com.au/[/ReturnRaw][/Return] >=20 > Unfortunately it isn=92t working on my Ubuntu 12.04/Apache 2.2/WebDNA = 6.x server >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 27 Jan 2016, at 13:21, Donovan Brooke wrote: >>=20 >> Hi Stuart, >>=20 >> You can either use my function lib: >>=20 >> http://209.236.238.19/www-euca-us/downloads/euca_lib_rev2.3.inc.zip >>=20 >> (uses syntax such as: '[euca_301redirect goto=3D]=92) >>=20 >> Or, you can just grab the code out there as an example. >>=20 >> Sincerely, >> Donovan >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> On Jan 26, 2016, at 7:57 PM, Stuart Tremain = wrote: >>=20 >>> I have been reading some old posts about WSC =91fixing=92 the = redirect in WebDNA,=20 >>>=20 >>> "Functionally, "[redirect]" in WebDNA works fine, and has on all = platforms. By default, it creates a temporary redirect, which isn't = always what you want for SEO reasons. WSC has fixed the ability to make = 301 redirects with the latest beta's in both WebDNA Server and WebDNA = FastCGI." >>>=20 >>>=20 >>> However I can=92t find any mention of it in the docs: >>>=20 >>> http://www.webdna.us/page.dna?numero=3D204 >>>=20 >>> How do I specify a 301 redirect as opposed to a 307 ? >>>=20 >>> What version is this available in ? >>>=20 >>>=20 >>> Kind regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Donovan Brooke

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:

creates folders with AS (1997) Associative lookup style? (1997) calender with business days (1998) [WebDNA] Installing 7.1.702 on CentOS (2012) RequiredFields template (1997) Shownext problems (1999) OT - quiet on the list today - here's something (2004) Some Questions (1997) webcat serving multiple copies of same db from ram (2000) Help name our technology! (1997) SETCOOKIE Tricks (2003) Anone ever make an alphabetical shownext? (2000) no serial? (1998) WebCatalog NT beta 18 problem (1997) HELP WITH DATES (1997) Next X hits (1996) WebDNA Solutions ... sorry! (1997) Multi-processor Mac info ... (1997) WCS Newbie question (1997) Multiple catalog databases and showcart (1997)