Add script 'get_apache2_info.sh'.

This commit is contained in:
2021-02-12 13:16:51 +01:00
parent 81a6ea2c6c
commit b584d3c2e2
2 changed files with 322 additions and 0 deletions

View File

@@ -790,6 +790,10 @@ if [ -z "$_existing_vhost_config_file" ]; then
if [ "X$_doc_root" = "X" ]; then
_doc_root=$__document_root
fi
echo ""
echo "_doc_root: $_doc_root"
echo "_web_base_dir: $_web_base_dir"
echo ""
if [ "`dirname $_doc_root`" != "$_web_base_dir" ]; then
echo -e "\n\t\033[1;33mDocument Root Directory must be a subdirectory of \"$_web_base_dir\".\n\tTry again..\033[m\n"
_doc_root=