parse apache config script in python