Hello
I'm trying to work out a way that I can create a script that will read in the httpd.conf file from Apache and show me the virtual hosts I have configured, allow me to edit them and then store them back in the Apache file, or add/delete new/old virtual hosts...
I've tried it with regexps but it's giving me a major headache. Can anyone point me towards somewhere where I might find an example of how to do this?
Thanks