Rebol doesn't work with localhost -


when doing

read http://localhost  

or

read http://127.0.0.1 

read returns empty string

why ?

update : know why doesn't work see own answer below.

finally it's because put special code detect localhost explained in own tutorial didn't remember :)

https://tutorial-rebol.rhcloud.com/how-to-detect-rebol-referer-in-a-php-script/

remark necessary test $_server['remote_addr'] allows know if rebol call coming remote client or local cgi avoid infinite loop.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -