|
Hey George,
I believe Virtualmin does have support for the hosts/ format of virtual host configuration, though I've never used it myself. It is the standard method of setting up hosts on some supported platforms...yep, the options are in the Apache module configuration. They're labeled "File or directory to add virtual servers to" and "Filename pattern for virtual servers". Looks like setting this to "hosts/" and "($DOM).com" will do the trick, or at least pretty close to it. I believe it uses the include directory feature rather than explicitly pulling in each domain configuration in a separate file, as I think your example is suggesting. But pretty similar, and you'd be able to use your existing hosts configuration files unmodified.
However, I should point out that part of the appeal of Virtualmin is that you don't really need to think about the configuration files too much anymore. But since it is still possible to perform configuration using vi (or one of those other text editors) or any other tool that is friendly to standard configuration file editing, we do try to stick to the standards of the OS on which it's running.
|