View Single Post
Old 30th May 2013, 12:19
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,037
Thanks: 841
Thanked 5,659 Times in 4,466 Posts

Originally Posted by buffus View Post
Thank you. It is very laborious.

Or how to add only e.g. folder1/lib.php to private folder automaticaly?

The best way to do it in a upgrade safe way is to write a small ispconfig server plugin that subscribes for the "web_domain_insert" event. You custom plugin should have a name that is after "apache2" in alphabet to ensure that your plugin is run after the original apache2 plugin, name it e.g. "" and put it in /usr/local/ispconfig/server/plugins-available and then activate it by adding a symlink in plugins-enabled directory. I recommend to take a look at the structure of the apache2 plugin to see how your plugin can subscribe to a event.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote