neko icon indicating copy to clipboard operation
neko copied to clipboard

mod_neko - Client IP is 0.0.0.0, and Sys.println() doesn't prints a new line

Open fulopm opened this issue 8 years ago • 4 comments

Hey!

I've just tried mode_neko, and it's awesome! I really fall in love with the Neko ecosystem. I have two issues though:

  • When using Haxe API method, neko.Web.getClientIP(), it always returns 0.0.0.0.
  • I think, Sys.println() should append a HTML newline after the printed string.

Thanks!

fulopm avatar Aug 16 '16 15:08 fulopm

Regarding IP bug, which webserver / platform / neko version are you using?

Regarding Sys.println, it does add a newline but it's different from html <br/>, you can change your mime type to text/plain if you prefer.

ncannasse avatar Aug 23 '16 16:08 ncannasse

@ncannasse I'm using Apache 2.4.10 on Raspbian, with Neko 2.0.0.

fulopm avatar Nov 02 '16 13:11 fulopm

@fulopm did you have some cache web-server before apache? maybe nginx?

ConstNW avatar Nov 02 '16 14:11 ConstNW

Nope, I didn't.

fulopm avatar Nov 02 '16 14:11 fulopm