mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-16 03:11:46 +00:00
commit
a9b4a2a1ac
6
acme.sh
6
acme.sh
@ -1808,6 +1808,11 @@ _apachePath() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$APACHE_HTTPD_CONF" ] ; then
|
||||||
|
_saveaccountconf APACHE_HTTPD_CONF "$APACHE_HTTPD_CONF"
|
||||||
|
httpdconf="$APACHE_HTTPD_CONF"
|
||||||
|
httpdconfname="$(basename $httpdconfname)"
|
||||||
|
else
|
||||||
httpdconfname="$($_APACHECTL -V | grep SERVER_CONFIG_FILE= | cut -d = -f 2 | tr -d '"' )"
|
httpdconfname="$($_APACHECTL -V | grep SERVER_CONFIG_FILE= | cut -d = -f 2 | tr -d '"' )"
|
||||||
_debug httpdconfname "$httpdconfname"
|
_debug httpdconfname "$httpdconfname"
|
||||||
|
|
||||||
@ -1825,6 +1830,7 @@ _apachePath() {
|
|||||||
httpdconf="$httpdroot/$httpdconfname"
|
httpdconf="$httpdroot/$httpdconfname"
|
||||||
httpdconfname="$(basename $httpdconfname)"
|
httpdconfname="$(basename $httpdconfname)"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
_debug httpdconf "$httpdconf"
|
_debug httpdconf "$httpdconf"
|
||||||
_debug httpdconfname "$httpdconfname"
|
_debug httpdconfname "$httpdconfname"
|
||||||
if [ ! -f "$httpdconf" ] ; then
|
if [ ! -f "$httpdconf" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user