tags:

views:

52

answers:

1

I'm in need of a way of controlling Apache and reading configuration files etc for automating some tasks, does anyone know of any automation APIs or frameworks much like what Microsoft offers for IIS?

The application is a C# WinForms app that has a Apache + PHP (WAMP stack essentially). We can't use XAMMP, I need to create virtual hosts etc workout where the php.ini is etc.

+1  A: 

You can reference other apache config files from the main one; so simply add a reference to your own apache conf file, and then write to it as required; once done, just restart the apache service. Pretty easy.

Noon Silk