4 ms·
What web server do you run? (Apache on *nix Or IIS on Windows)
by nreece 19y ago
What web server do you run? (Apache on *nix Or IIS on Windows)
- pg 19y agothis one: (def serve ((o port 8080)) (nil! quitsrv*) (ensure-dir logdir*) (let s (open-socket port) (prn "ready to serve port " port) (flushout) (= currsock* s) (after (while (no quitsrv*) (if breaksrv* (handle-request s) (errsafe (handle-request s)))) (close s) (prn "quit server"))))
- jsjenkins168 19y agoApache just got owned.
- staunch 19y agoPerlbal (or something else) proxying requests would be a quick way to add support. Probably not worth the hassle on news.yc. No pages are that big and I doubt bandwidth usage is killing you.
- nreece 19y agoycombinator.com seems to be running Apache/2.2.4 on FreeBSD ( http://uptime.netcraft.com/up/graph?site=www.ycombinator.com http://uptime.netcraft.com/up/graph?site=www.ycombinator.com ), in which case your best option is using the mod_gzip module: http://www.schroepl.net/projekte/mod_gzip/ http://www.schroepl.net/projekte/mod_gzip/
- deleted 19y ago[deleted]
- euccastro 19y agoWhat part of "this one" don't you understand? :) www.ycombinator.com is not necessarily news.ycombinator.com.