Skip to content
Snippets Groups Projects
Commit b8135a98 authored by Demian Katz's avatar Demian Katz
Browse files

More Apache 2.4 updates.

parent 7adf1a21
Branches
Tags
No related merge requests found
...@@ -118,9 +118,12 @@ function getApacheLocation($overrideDir) ...@@ -118,9 +118,12 @@ function getApacheLocation($overrideDir)
} else if (is_dir('/etc/apache2/2.2/conf.d')) { // Solaris } else if (is_dir('/etc/apache2/2.2/conf.d')) { // Solaris
$confD = '/etc/apache2/2.2/conf.d'; $confD = '/etc/apache2/2.2/conf.d';
$httpdConf = '/etc/apache2/2.2/httpd.conf'; $httpdConf = '/etc/apache2/2.2/httpd.conf';
} else if (is_dir('/etc/apache2/conf.d')) { // Ubuntu / OpenSUSE } else if (is_dir('/etc/apache2/conf.d')) { // old Ubuntu / OpenSUSE
$confD = '/etc/apache2/conf.d'; $confD = '/etc/apache2/conf.d';
$httpdConf = '/etc/apache2/httpd.conf'; $httpdConf = '/etc/apache2/httpd.conf';
} else if (is_dir('/etc/apache2/conf-enabled')) { // new Ubuntu / OpenSUSE
$confD = '/etc/apache2/conf-enabled';
$httpdConf = '/etc/apache2/apache2.conf';
} else if (is_dir('/opt/local/apache2/conf/extra')) { // Mac with Mac Ports } else if (is_dir('/opt/local/apache2/conf/extra')) { // Mac with Mac Ports
$confD = '/opt/local/apache2/conf/extra'; $confD = '/opt/local/apache2/conf/extra';
$httpdConf = '/opt/local/apache2/conf/httpd.conf'; $httpdConf = '/opt/local/apache2/conf/httpd.conf';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment