The easiest way to do is is to create a new ispconfig server plugin which subscribes to the website insert event and then creates the directories. For an example I receommend to take a look at the ispconfig apache plugin. Your plugin has to use a name that comes after the name of the apache plugin in alphabet, so that your plugin is executed after the apache plugin.
|