When creating a new site, I want to load a template site that also contains .php and directories. As far as I can tell, this isn't easy to do in ispconfig via /usr/local/ispconfig/server/conf-custom, but perhaps I'm missing something. Can anyone help me or point me in the right direction to make this possible? Regards, B
That is not the purpose of conf-custom, so I don't think you can use it like that, but if you mean default ISPConfig site pages (including for errors), that are customizable. I am not so sure about directories but try to explore that side of customization and see whether that are possible. I've never customized the default landing or error pages so far that I remembered.
So I noticed. You would think that's what the index folder inside there is for? But that doesn't work.
The index folder is there to customize the standard index page, favicon and robots.txt that are being used when you create a new site. You can not put other files or directories there. You can only override the files that exist in conf: /usr/local/ispconfig/server/conf/index/ As a rule of thumb, you can customize via conf-custom what exists in conf.
Rethinking about it, that may be possible if you could write your own custom server side plugin to achieve the same, yourself or hire some one else, but that will definitely be a lot of work, whether to create or to maintain. The simple logic is, if new site is created in your ISPConfig web server, copy all that you wanted in that new site folder. Easy said than done.