Re:Bashttpd - An http server in bash
by seraph787 on Sunday September 16, 2012 @11:20AM
(#4529285)
completely disagree. Want to create a quick file server to test a design or an html page in a browser? Yes you could use python SimpleHTTP but python is a dependency that not all times we have access too.
[ Parent
| on HN ]
Re:Bashttpd - An http server in bash
by rachelbythebay on Sunday September 16, 2012 @11:37AM
(#4529316)
Do you have OpenSSL? I assume you do. Look at the man page for s_server and gape in awe at the -www -WWW and -HTTP options.
The only catch is that you need to rig up a key, it being SSL and all. -nocert probably won't play nicely with your browser.
Re:Bashttpd - An http server in bash
by zoodlenote on Sunday September 16, 2012 @12:24PM
(#4529465)
That's cheating.
http://lock.cmpxchg8b.com/certificate/hello.sh.html (source: http://bit.ly/mGCVks)