Home >Backend Development >PHP Tutorial >端口转向的有关问题

端口转向的有关问题

WBOY
WBOYOriginal
2016-06-13 11:58:11913browse

端口转向的问题
下面是我的代码:为什么这段代码会把ip地址也转向了呢

NameVirtualHost www.h.com:80



ServerName www.h.com

ProxyPass / http://www.h.com:8080/

ProxyPassReverse / www.h.com:8080/



------解决方案--------------------
你的 192.168.1.10 是默认的主站吧?
配置虚拟主机时,虚拟主机列表中的第一个虚拟主机等价于默认主机

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn