[Software] Bozotic web server port updated.

I’ve updated my port of the Bozotic web server. I’ve removed quite a bit of my customized stuff, making it adhere to the initial port – this means that my test CGIs and such are no longer in this package, but fear not; it’s the same slim server! I’ve even included a prebuilt binary that is about 40k with AltiVec optimization!

“This is all well and good, but HOW DO I RUN IT?”, you ask?

This following command line will (mostly) mimmic the default Apache setup on OS X, backgrounding itself, chroot to /Library/WebServer/Documents (the default), change user to www (the default), running on port 8080, with the hostname of ‘localhost’, and CGI support in the directory /Library/WebServer/CGI-Executables:

%./path/to/bozohttpd -t /Library/WebServer/Documents -c /Library/WebServer/CGI-Executables -I 8080 -U www -X -H -b / localhost

Alternatively, if you want to support ~Sites (Think: Personal Web Sharing), you can’t chroot, since /Users/xxx/Sites is out of the /Library/WebServer/Documents heirarchy.

%./path/to/bozohttpd -u -c /Library/WebServer/CGI-Executables -I 8080 -p Sites -U www -X -H -b /Library/WebServer/Documents localhost

(No, it’s not for the faint of heart, or command line-fu!) You’ll find the modified source, build scripts, and the precompiled binary in the package here.