配置编写:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.localhost
DocumentRoot "D:\aphche\htdocs"
DirectoryIndex index.html
ServerName localhost
ServerAlias localhost
ErrorLog "logs/dummy-host.localhost-error.log"
CustomLog "logs/dummy-host.localhost-access.log" common
###################远程项目
ProxyPass /platform http://xx.xxx.xx.xx:8888/platform
ProxyPassReverse /platform http://xx.xxx.xx.xx:8888/platform
###################本地项目
ProxyPass /test http://xx.xxx.xx.xx:8081/test
ProxyPassReverse /test http://xx.xxx.xx.xx:8081/test
</VirtualHost>