apache2.conf的實際目錄是/etc/apache/apache.conf。並且有網站啓用的目錄。我將啓用了網站的目錄的目錄路徑更改爲/ var/www/sites-enabled。更進一步,就可以改變的目錄拍拍網站啓用在apacche2.conf作爲../../var/www/sites-enabled/apache2.conf錯誤
它引發錯誤
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/var/www/sites-enabled/: No such file or directory
Action 'configtest' failed.
任何想法我該如何解決這個問題?
放在正確的路徑現在拋出這個錯誤
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Could not open configuration file /var/www/sites-enabled/000-default: No such file or directory
Action 'configtest' failed.
感謝 讓