LiveCodeServer: redirecting with 'put header'
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Thu Dec 8 10:50:55 EST 2011
Hi Andre.
while answering to the other replies i oversaw your one..
Tried it now out. It works ! ! !
But why do i have to put the "redirecting…"?
Is this an on-rev specific thing or is this additional put also needed when using LiveCodeServer on
other systems? If the 2nd, then RunRev would do right to put that information into the ReleaseNotes.
Anyway, it works. Thank you very much.
Regards,
Matthias
Am 08.12.2011 um 16:26 schrieb Andre Garzia:
> 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.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list