它已經2年我運行OS X服務器,有或多或少的麻煩。昨天,我更新到服務器5.1和Web服務器完全崩潰。所有設置都在服務器應用程序的Web部分面板中顯示。埃爾卡皮坦OS X服務器5.1升級休息虛擬主機
但是要尋找的網站時,Safari瀏覽器無法找到它。我挖在這個問題上幾個小時,找出virtual_host_global.conf只有這包含:
# This file is auto-generated by the Server application's
# configuration mechanism whenever settings are saved.
# The Listen directives are generated
# based on the VirtualHost directive inside
# each site configuration file found in this directory.
Listen 127.0.0.1:34543
Listen 127.0.0.1:34580
手動更新,以這種
# This file is auto-generated by the web configuration
# mechanism whenever settings are saved.
# The Listen and NameVirtualHost directives are generated
# based on the VirtualHost directive inside
# each site configuration file found in this directory.
#
Listen *:443
Listen *:80
並重新啓動服務器一切都恢復正常了。但是,如果我從服務器應用程序更改設置,應用程序將重寫此文件並打破所有內容
我不明白爲什麼它打破了簡單的更新。有誰知道如何讓我的修改永久?我需要更改服務器應用程序中哪些配置文件或項目,以便每次從服務器UI更改某些內容時都可以使用它。
謝謝