我的httpd.conf通用选项为:
<Location />
ProxyPass http://localhost:8080/
ProxyPassReverse http://localhost:8080/
</Location>
我想配置包含
的虚拟主机像
<VirtualHost *:80>
ServerName www.localhost
ServerAlias locathost
DocumentRoot "C:\wamp\www\tomcat"
<Location />
ProxyPass http://localhost:8080/
ProxyPassReverse http://localhost:8080/
</Location>
<VirtualHost *:80>
同时如果我调用其他virtaul主机,它应该通过端口80而不是8080服务
像
<VirtualHost *:80>
ServerName www.localhost2nd
ServerAlias locathost2nd
DocumentRoot "C:\wamp\www\phpapp"
<VirtualHost *:80>
所以我在配置中错过了什么呢?