LiveCodeServer: redirecting with 'put header'

Andre Garzia andre at andregarzia.com
Thu Dec 8 09:26:44 CST 2011


Matthias,

This will sound crazy ok... but try the script with an extra put with
content, like this:

>
> <?lc
> put "http://www.google.com" into tURL
> put  header "Status: 301"
> put header "Location:" && tURL
>
   put "redirecting..."

> ?>


And tell me if it works.

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.


More information about the use-livecode mailing list