Default index.html page

Discussion in 'Installation/Configuration' started by geormanth, Dec 20, 2014.

  1. geormanth

    geormanth New Member


    Thank you for this beautiful work you are made.

    I have a question:
    In the new ISPconfig I saw that you comment out the creation of the default index.html page and // Copy the error pages function from and where is now?

    What I want to do is when I make a new website to add more files by default.
    ie style.css and image folder more than a simple index.html

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The best way to achve that is to create a small server side plugin that attaces itself to the website insert event, similar like the apache and nginx plugin are doing it if your plugin name coames after apache and nginx in alphabet, then your plugin gets executed after the website is created, which is nescessary for your purpose. so choose a plugin name that comes after apache and nginx (e.g.xsitecopy" or whatever :)

Share This Page