端口转向的问题

WBOY
Release: 2016-06-23 13:56:27
Original
789 people have browsed it

下面是我的代码:为什么这段代码会把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的时候也会转向到www.h.com:8080

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

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


问题已经解决  非常感谢!
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template