I want to be able to start an apache server from the command line, typing something like apache site-folder or apache . --port=2000
apache site-folder
apache . --port=2000
This sh
This works:
Your apache config could point to /var/www
Then use:
sudo mount -o bind /home/webcreatorperson/mywebsite /var/www
to unbind use:
sudo umount /var/www
If you want several ports you could preconfigure ports in apache to point to directories like /var/www/8000.