I was searching for simple web server that is capable to directory index. In the past I was using python -m SimpleHTTPServer
drawback of this is solution is that it only can serve one request at time. Then I inspired by following question What is a faster alternative to Python's SimpleHTTPServer? and I've tried node.js and twisted. Those two solved the problem with processing one request at time but another problem here is that both node.js and twisted are not able to process files which contains spaces (python solution worked). How to have both parallel requests handling and support for white spaces in filenames?
Asked
Active
Viewed 50 times
0

Community
- 1
- 1

Wakan Tanka
- 7,542
- 16
- 69
- 122
-
Is there a reason you're not considering a "real" web-server like apache, nginx or lighttpd? – sebastian Apr 09 '15 at 06:38
-
Probably not, but I just want something little, fast and easy to configure. It should serve files for VLC player. Now it runs on my PC but probably one nice day it will run on raspberry PI (which I do not have yet). Are those two requests that I have something special for lightweight web servers? – Wakan Tanka Apr 09 '15 at 06:42
-
From my own experience: getting any of those webservers running on a pi is nothing special - there are standard linux packages available for all of them. I think at least nginx & lighttpd can also be called lightweight... – sebastian Apr 09 '15 at 06:47
-
Does both lighthttpd and nginx suits for my needs? – Wakan Tanka Apr 09 '15 at 06:55