How to list and remove virtual host of apache in centos by shell script
Hi,
Can anybody help me to make a script which list and remove the virtual host from the http.cof file |
Just like you did in your previous three threads you should start by showing what you already scripted or at least the commands you use for doing that and the relevant part of your httpd.conf.
|
Hi,
This will do Code:
sed -i.bak '/<VirtualHost .*>/,/<\/VirtaulHost>/d' apache2.conf http://en.kioskea.net/faq/1451-sed-d...es-from-a-file |
Quote:
|
All times are GMT -5. The time now is 03:43 AM. |