ISPConfig default files for new website

Discussion in 'General' started by pecka33, Sep 22, 2023.

  1. pecka33

    pecka33 Member

    Hello,

    is here any way to change default files which are uploads to root of new domain? When i create website via ispconfig in root of new domains are files as robots, standard index, stats... I would like to add here automaticaly one more file. How can i set it, is here any way? Thank you
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You can alter the apache2_plugin.inc.php or nginx_plugin.inc.php code to copy another file there.
     
    Farsus and ahrasis like this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    I won't alter any of these plugins. It will break your system during the next update. Create a new plugin and let it listen to the website insert event and use this to copy your files. Your custom plugin name must have a file name that is after apache and nginx plugin in alphabet.
     
    webup and Th0m like this.

Share This Page