For the custom made CMS we're using I have to create some extra directories for a website. Is it possible to automatically create some extra directories in the site directory when creating a new site from ispconfig ?
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
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.
Recent comments
2 days 9 hours ago
2 days 18 hours ago
2 days 21 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 1 hour ago
3 days 2 hours ago
3 days 4 hours ago
3 days 19 hours ago
3 days 20 hours ago