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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Create VHost and add created VHost to listener from script

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2008, 10:46 PM
SoreGUms SoreGUms is offline
Member
 
Join Date: Jul 2007
Location: Sydney, Australia
Posts: 32
Default Create VHost and add created VHost to listener from script

I'm automating the creation of a website.
I have the directory structure all done and the vhconf.xml creation done.

All I need to do now is insert the relevant lines into /opt/lsws/conf/httpd_config.xml
How do I do this from a bash script - or at all?

Thanks
Reply With Quote
  #2  
Old 03-17-2008, 10:53 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I think you should use PHP or perl script to update the XML configuration instead of using shell script.
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 12:06 AM.



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