brendonc has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing file and removing a section
by arturo (Vicar) on Mar 08, 2001 at 01:15 UTC | |
by petral (Curate) on Mar 08, 2001 at 02:09 UTC | |
|
Re: Parsing file and removing a section
by Ido (Hermit) on Mar 08, 2001 at 01:28 UTC | |
|
Re: Parsing file and removing a section
by repson (Chaplain) on Mar 08, 2001 at 12:03 UTC | |
|
Re: Parsing file and removing a section
by Masem (Monsignor) on Mar 08, 2001 at 02:47 UTC | |
|
Re: Parsing file and removing a section
by Rudif (Hermit) on Mar 08, 2001 at 04:51 UTC | |
by Anonymous Monk on Aug 09, 2016 at 06:49 UTC | |
|
Re: Parsing file and removing a section
by brendonc (Novice) on Mar 08, 2001 at 04:18 UTC |