Aza
Verified User
"Admin Level -> Custom httpd configuration -> domain.com" allows admin to insert a line into the effective Virtual Host configuration
In the resulting panel, DirectAdmin cautions against replacing the entire "<Virtualhost>..</VirtualHost>" (sic), opining that admin should "[o]nly add the few lines of the VirtualHost you need to insert."
This begs two closely related questions:
1) There are multiple blocks, "IF" satements and the like in the VirtualHost specification. Obviously where a line is inserted will make a profound difference. Given no mechanism to direct where the new line will be inserted, what is the hapless admin supposed to do to get the desired result?
2) How can one edit the *existing* virtual host parameters without a conflict with DirectAdmin?
Is anyone here able to shed a bit of light on the intended solution?
Aza D. Oberman January 2017
In the resulting panel, DirectAdmin cautions against replacing the entire "<Virtualhost>..</VirtualHost>" (sic), opining that admin should "[o]nly add the few lines of the VirtualHost you need to insert."
This begs two closely related questions:
1) There are multiple blocks, "IF" satements and the like in the VirtualHost specification. Obviously where a line is inserted will make a profound difference. Given no mechanism to direct where the new line will be inserted, what is the hapless admin supposed to do to get the desired result?
2) How can one edit the *existing* virtual host parameters without a conflict with DirectAdmin?
Is anyone here able to shed a bit of light on the intended solution?
Aza D. Oberman January 2017
Last edited: