Directory structure website

Discussion in 'Installation/Configuration' started by PerudoIS, Aug 25, 2011.

  1. PerudoIS

    PerudoIS New Member

    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 ?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

Share This Page