Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

tdro view
  • Markdown Plaintext Embed Permalink
  • 80/50 words 27s read
    Web servers can be spun up quickly on the command line but with gotchas.

    Take the innocent web server .

    php -S

    Best not to use PHP’s web server cli (even for PHP) because routes with a dot (.) are assumed to be static files. Use a real web server or superior cli web servers with minor gotchas.

    python -m http.server --bind 8080
    busybox httpd -f -p
    ruby -run -e httpd . -p 8080
    #gists #webdev