Stop using Apache or the built-in web server on OSx, seriously.

Install NodeJS:

curl | sh

Install Http-Server:

npm install http-server -g

Create an Alias:

# web server (http-server node)
 	alias web='[Your Bin Directory]/http-server'

Then, from any directory just call:

ttm-mba% web
 	Starting up http-server, serving ./ on port: 8080
 	Hit CTRL-C to stop the server

You can now navigate to http://localhost:8080 and get to files hosted in that directory.