apache2 normally runs a service. I don't apache2 service to run in background. I want to run it as long as it's a foreground program so I know that when I close my terminals while forgetting to stop a background service.
If not, is there any simple alternative? python -m SimpleHTTPServer
is perfect except it doesn't support POST unless I write a script.
So I am trying to find a single command server program that doesn't run as service.