Shell Script Adding Domain

zoom

Well-Known Member
#1
I currently using a vhost template to add domains to the server as needed via the web interface. However, in the past when I was running Apache I had a nice little shell script that would add the site to Apache's config and gracefully restart the service. Does litespeed have script available?

I noticed that when you have vhost template and add a domain it doesn't create a template file for each domain. Instead it seems to just add the template entry to httpd_config.xml. I'm I correct in this assumption?

Thanks..
 

zoom

Well-Known Member
#3
Yes I knew about the ability to instantiate a vhost template domain. If I instantiate the domain in the vhost template it defeats the power of using the template. Instead I would rather just be able to add the entry to the httpd_config.xml
 
Top