#!/bin/sh port=${1:-8080} dir=`dirname $0` dir=`(cd $dir; pwd -P)` exec /usr/libexec/httpd \ -i 0.0.0.0 -I $port -s -f \ -b -p http -u $dir