How to configure Apache via command line?

2

I wonder if it is possible to configure Apache using command line (Terminal). So far, the best I can do is to run the command apachectl -S which returns me the settings, but that returned value is not very friendly. Is there any way to get these infos in an array / JSON / object?

    
asked by anonymous 19.05.2015 / 18:14

0 answers