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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -