它已经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更改某些内容时都可以使用它。
谢谢