There shold nor be any folders created as thats a system folder, folders should be created only in the "web" folder and in the "private" folder.. If you want to do it anyway, then you will have to remove the protection of the folder with chattr -i /path/to/folder as root, then add the new fiolder as root and then add the protection again.

Hi
I create protected folder but it is create under web. I would like to create it on the private folder...
I need particular access to folder (contain of .git) and i dont want .git under same folder as web (working-tree)
Any hint?
Thank you

Thats not possible, your request makes no sense if you take in account which folders are mde for which purpose. The privatr folder is for files that shall not be accessible by http or https. The web folder protection is. .htacess protection for web folders. So having a .htaccess file in a folder that is and shall not be accessible over the web makes no sense.

ok... And i access private folder with ???? ftp ? ssh ?
I dont like to put protected files under web root... except files that need protection in web site.
But if we need to access authentication provide by http server (for git)...
ok... maybe you can hint me for folder structure... I'm urge to deploy many site and dead line is near!

but the best place to put repository folder is a same level than web... And with special http access (only for git and not ftp) ...
Can I do this? Faster... I can do it manually and eventually add this feature (with an option like "git web site" that create all the task (folder, git init, and so on)

ok... I understand...
ftpd and sshd access level that contain web and private
httpd access only below web
I will put
web
-- public_html
-- repository
with protected folder "repository"
and that do the job if i can protected access of web level

For previous post... I modify vhost to obtain what i need. So root document is
DocumentRoot /var/www/ambianceselecte.com/web/public_http
(and modify other stuff accordingly). I forget to modify something? I have other bugs; apache dont process my php. But this is surely unrelated with ISPConfig (I migrate from wimp to lamp, so hourrah Bill Gates for trouble and make harder simple task )
This a workaround because modyfing files outside ISPCoonfig...

Ok... To clarify what I try
I want to separate the web part from git repo part but I need auth process from the httpd.
So... In the best case, folder struct like
private/
repository/
web/
I can program the stuff to create folder repository. All I need is the apache directive to havehttp://[email protected]/repository/web.git
and the server reply with the password request.
So, the repository will have same access as protected folder but out of the main web folder!
Eventually, repository will contain other stuff project and I will program module (or plugin) to do that with ispconfig 3 (as an option).

You can e.g. put the repository folder into the private folder and then add an alias in the apache directives field (or in the vhost master template if you want to use this for all sites). Or you create a plugin for that.

Ok... And i'm suppose that I can do it in the same level than web or private... I dont want user remove repository by error from ssh or ftp...
I will have to do the plugin... Not all clients will have access to create more git repo except pre create web.repo
Thank you