I need to be able to parse the file, find the appropriate ServerName, and then remove that entire VHost block. I'm stuck on this one. If anyone can help I would greatly appreciate it.<VirtualHost 123.123.123.123> ServerName www.domain.com ... </VirtualHost>
Thanks, Brendon
In reply to Parsing file and removing a section by brendonc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |