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,896
Thanks: 693
Thanked 4,190 Times in 3,207 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
20 hours 39 min ago
1 day 6 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 9 hours ago