Simple HTTP server in OS-X
If you need a quick way to share a directory
Open a terminal window, change to the directory you want to share and type
python -m SimpleHTTPServer 8080
It’s even better as an alias.
alias serve='echo Serving ${PWD} from ${HOSTNAME}:8080$;python -m SimpleHTTPServer 8080'
From Macworld