最近都在忙著為伺服器搬家,由於有些負責人已經離職了,我只有廖化作先鋒頂著上,剛好有一個是牽涉到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
Amazon's $949 15-inch MacBook Air deal hits lowest price ever ahead of Big
Spring Sale
-
Amazon's weekend deal drops the 15-inch M4 MacBook Air down to a record low
of $949 ahead of next week's Big Spring Sale.
[image: Two open MacBook Air lapt...
15 小時前
沒有留言:
張貼留言