亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

apache - 如何配置多站點在同一服務器上
巴扎黑
巴扎黑 2017-04-24 09:13:21
0
1
705

注意!
ubuntu下的配置文件與其他與其他系統(tǒng)不同,所以我在網上找不到合適的教程,在不開啟虛擬主機的情況下,兩個網址都可以轉到服務器的目錄下
希望大佬能夠盡量詳細一點解釋這個問題謝謝

巴扎黑
巴扎黑

reply all(1)
Ty80

The configuration under ubunutu is the same as others, except for the ubuntu configuration file /etc/apache2/apache2.conf都是includeother configuration files. For example,

# 載入模塊已經配置
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
# 配置虛擬主機
InludeOptional sites-enabled/*.conf

Referencesites-enable/ 里面的default.confWrite a configuration file and place it in this directory.

Actually, just follow the tutorials on the Internet. However, in order to make it more convenient for everyone, Ubuntu has reorganized the structure of the configuration file. It is not necessary to write them all in the same configuration file.

For example, if you want to load a new module, just mods-available 里面的對應文件復制到mods-enabled/.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template