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
I think you should use PHP or perl script to update the XML configuration instead of using shell script.