The "/etc/apache2/" path is actually correct for the default apache on OSX. Could we dynamically show the correct path based on where httpd.conf is on the system? Something like...
conf_dir = {
"/usr/sbin/httpd" => "/etc/apache2/",
"/usr/local/bin/httpd" => "/usr/local/etc/apache2/",
}[`which httpd`.strip] # Assume the conf dir based on where the binary is
def self.menu
"
- .restart/
- conf/
@#{conf_dir}
The "/etc/apache2/" path is actually correct for the default apache on OSX. Could we dynamically show the correct path based on where httpd.conf is on the system? Something like...