This is a nice article about setting up Apache virtual hosts on Debian.
Now, I would like to be able to do so programmatically, from within my C++ application.
What do I need to know to do so?
Sub questions:
- What tool can I use to parse, read and write the apache config grammar?
- Is there an API or header I could use to that effect?
- Is there any existing tool that I could use / call from my program?