apache搭的服務器域名能訪問, IP訪問不了的解決方法

加:ServerAlias *


<VirtualHost *:80>
    <Directory "c:/wamp/www/">
        Options FollowSymLinks
        AllowOverride All 
        Order deny,allow
        allow from All
    </Directory>
    DocumentRoot "c:/wamp/www/"
#ServerName *:80
ServerAlias *
    ErrorLog "c:/wamp/logs/error_log"
    #CustomLog "c:/wamp/logs/access.log" combined

ProxyPass /inv/  http://www.ycansoft.com:8080/


</VirtualHost>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章