Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fulopm opened this issue Aug 16, 2016 · 4 comments
Open

Comments

@fulopm
Copy link

fulopm commented Aug 16, 2016

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 fulopm changed the title IP is 0.0.0.0, and Sys.println() doesn't prints a new line mod_neko - Client IP is 0.0.0.0, and Sys.println() doesn't prints a new line Aug 16, 2016
@ncannasse
Copy link
Member

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.

@fulopm
Copy link
Author

fulopm commented Nov 2, 2016

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

@ConstNW
Copy link
Contributor

ConstNW commented Nov 2, 2016

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

@fulopm
Copy link
Author

fulopm commented Nov 2, 2016

Nope, I didn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants