News for hackers. Stuff that matters.
Re:Big list of HTTP static server one-liners by niklasrde on Thursday May 13, 2021 @06:55AM (#27140704)
apache requires a config file. I guess you could put any relevant config into a single line and pipe that through somehow, but it would be a lot more than a single command to define a directory and a port to serve.
Re:Big list of HTTP static server one-liners by bawolff on Thursday May 13, 2021 @11:53AM (#27143524)
PHP was on the list. It also takes a config file (less relavent though to this use)