LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Shell Script Adding Domain

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2007, 10:29 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default Shell Script Adding Domain

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..
Reply With Quote
  #2  
Old 09-14-2007, 11:31 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You can instantiate the template member to generate a vhost configuration file for you.
Reply With Quote
  #3  
Old 09-14-2007, 12:21 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:53 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.