瀏覽代碼

* Bug: en configurarApache() cambiar las rutas

Guzmán Castanedo Villalba 6 年之前
父節點
當前提交
37a71aca46
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      install

+ 2 - 2
install

@@ -488,8 +488,8 @@ instalarApache() {
 
 configurarApache() {
 	if [ $rhelOS = true ];then
-		apacheConfFile="./etc/apache-rhel/conf/httpd.conf"
-		welcomeConfFile="/etc/httpd/conf.d/welcome.conf"
+		apacheConfFile="./etc/$webServerName-rhel/conf/httpd.conf"
+		welcomeConfFile="/etc/$webServerName/conf.d/welcome.conf"
 		if [ ! -f $apacheConfFile ];then
 			comprobarError 1 4 $apacheConfFile
 		fi