What's the simplest way to run a static server without trailing slashes locally? Ideally, I'd simply like to only use tools that come installed with the latest version of OS X.
Unfortunately,
python -m SimpleHTTPServer 8000
and
ruby -run -ehttpd . -p8000
both 301 redirect /about
to /about/
.
I want the opposite.
See more static server one-liners.
Note: My static site talks to a REST API that uses Rack.