Oh, you’re right! I’m sorry, I got you mixed up with another user. There are two people asking the same question multiple times.
Currently active threads about the same root problem (and trying to solve it in the same roundabout way):
A lot of folks migrating from cPanel this week, I guess.
The answer to all of them is the same: Don’t do that (unless you can’t avoid it, but it’s probably much easier to stop trying to avoid it and just configure your apps appropriately for the default file structure you get when you create a Virtualmin virtual server or sub-server).