![]() |
NanoServ (small web-server)
Hi,
I've watched these forums for a long time and put a lot of neat things on my n800 over time. I just recently found a simple web-server that works perfect on my n800 if you have Perl installed. It's called NanoServ. http://colo.cjb.net:8080 I just copied the code into a file called nanoserv.pl and then launched it with "perl nanoserv.pl" Then just open up a browser to http://localhost or http://localhost:8080 (if you use the zipped version) Your very own n800 webserver! This may work on the n700 too, not certain but I don't see why not. Anyways, just FYI.. it's pretty cool to host a webpage off your tablet. :D BTW - You will need to put your index.html and any other files under the root directory at the top of the script. I think his default is /ns/ns-root which you will have to make. (mkdir /ns ; mkdir /ns/ns-root) But you can make it in your /home/user directory like I did. One thing, once you launch it, it backgrounds itself and is immediately listening, so you can only kill it by doing a "ps ax" and looking for the PID it's running under, then "kill -9 <pid>" or just restarting the nokia. Also, it will output connections to your shell until you close it and reopen it, but its nothing but a minor annoyance. Very cool :) |
All times are GMT. The time now is 17:20. |
vBulletin® Version 3.8.8