最近都在忙著為伺服器搬家,由於有些負責人已經離職了,我只有廖化作先鋒頂著上,剛好有一個是牽涉到Apache2的項目,我把一切應該拷貝的抄去新的伺服器,大致上都弄好了,在start apache的時候,網頁是可以跑,只是在console出現了一下的問題:
[error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
網上的解決方案不是很多,還好在apache的官網看到config file裡漏了一項設定,如下:
原本的設定是NameVirtualHost *
Apache官網的設定NameVirtualHost *:80
就是說少了:80在NameVirtualHost的後面,我把它補上,在restart apache就行了.
相關連線: http://httpd.apache.org/docs/2.0/vhosts/name-based.html
Deals: Apple AirPods dip to $79, M3 iMac 24-inch drops to $1,149 at Amazon
-
Apple's earbuds are $50 off and the current M3 iMac is $150 off at Amazon
today, just in time for Mother's Day gift-giving.
[image: Apple AirPods 2 in its ...
9 小時前