VirtualHost custom directory

Is it possible to change the directory of a virtualhost to a path other than the default /var/lib/nethserver/vhost/ ???

I would like to change some virtualhost so that they enter sub folders instead of entering the /. I took a look at the wiki and I did not quite understand how to make custom template for virtualhost, I was afraid to do the wrong thing! lol

virtualhost is made from templates for template, not easy to understand, this is the path to modify something

[root@prometheus ~]# du -a /etc/e-smith/templates/httpd/vhost-extra/
4	/etc/e-smith/templates/httpd/vhost-extra/10base
4	/etc/e-smith/templates/httpd/vhost-extra/20forcessl_redirect
4	/etc/e-smith/templates/httpd/vhost-extra/20ssl_engine
4	/etc/e-smith/templates/httpd/vhost-extra/25IndexesOptions
4	/etc/e-smith/templates/httpd/vhost-extra/30directory10begin
4	/etc/e-smith/templates/httpd/vhost-extra/30directory20allowoverride
4	/etc/e-smith/templates/httpd/vhost-extra/30directory20options
4	/etc/e-smith/templates/httpd/vhost-extra/30directory30require_begin
4	/etc/e-smith/templates/httpd/vhost-extra/30directory40access
4	/etc/e-smith/templates/httpd/vhost-extra/30directory40authentication
4	/etc/e-smith/templates/httpd/vhost-extra/30directory80require_end
4	/etc/e-smith/templates/httpd/vhost-extra/30directory90end
4	/etc/e-smith/templates/httpd/vhost-extra/90end
0	/etc/e-smith/templates/httpd/vhost-extra/template-begin
4	/etc/e-smith/templates/httpd/vhost-extra/11CustomLogs4Awstats
4	/etc/e-smith/templates/httpd/vhost-extra/30directory21PhpAdminValues
4	/etc/e-smith/templates/httpd/vhost-extra/15PhpScl_values
68	/etc/e-smith/templates/httpd/vhost-extra/

Thanks for the feedback. I’ve already contoured with an adaptation! lol

(13)Permission denied: [client 10.0.0.1:43700] AH00529: /var/lib/nethserver/vhost/aadvance-cobranca/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/var/lib/nethserver/vhost/aadvance-cobranca/’ is executable

I tried permission settings that I saw on the apache wiki but it did not work. Any tips?

I solved using ->> chown -R apache: apache /var/lib/nethserver/vhost/*