I would love to change the AP_DOC_ROOT to be “/var/virtual”.
My understanding is that I need to recompil apache with the correct ./config options.
Tried reading about it on different sites, but everyone described a different approach. Also looked at a few posts here, but didn’t really get it.
Since there was no reply here I gave it a whirl using steps i found in another forum.
It explained getting the rpm of httpd and changing suexec_docroot and contendir.
Changed them to /var/virtual and did an rpm-build. Then i rpm2cpio’ed suexec to /usr/sbin/suexec, but when i ran suexec -V it still points to /home.
would /home/virtual or /home/var/virtual not easier to set up? I recall this can be done in the virtualmin UI
Is there an explicit reason to get it under /var?
And I wouldn’t be sure how to recompile with a different path.