Hi
I'm creating a Drupal multisite setup which involves custom virtual host entries in httpd.conf, with multiple domain names pointing to the same documentroot.
The problem is that DirectAdmin creates its own virtual host entries automatically in the data/users/admin/httpd.conf file and this file updates everytime you save domain name properties, so theres no point in deleting it their.
How can I prevent the vhosts entries from being generated for "some domains" on my setup, without having to stop having the domains in DA (I still want to use email and SSL from Direct Admin). Maybe it can be done with a custom virtual host template that uses a conditional to check if the domain is special, and then write to entry. is this even possible?
I dont know much about this type of scripting, its my first server.
I'm creating a Drupal multisite setup which involves custom virtual host entries in httpd.conf, with multiple domain names pointing to the same documentroot.
The problem is that DirectAdmin creates its own virtual host entries automatically in the data/users/admin/httpd.conf file and this file updates everytime you save domain name properties, so theres no point in deleting it their.
How can I prevent the vhosts entries from being generated for "some domains" on my setup, without having to stop having the domains in DA (I still want to use email and SSL from Direct Admin). Maybe it can be done with a custom virtual host template that uses a conditional to check if the domain is special, and then write to entry. is this even possible?
I dont know much about this type of scripting, its my first server.