最近都在忙著為伺服器搬家,由於有些負責人已經離職了,我只有廖化作先鋒頂著上,剛好有一個是牽涉到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
How to unblock websites on your iPhone with Surfshark VPN
-
From a potential TikTok ban to blocked content, it has never been more
important to take back control of the web with Surfshark VPN for Mac and
iPhone to u...
3 小時前