Apache24 服务配置域名分发
2017-02-22 16:23
549 查看
D:\Apache24\conf\extra 最后一个文件httpd-vhosts.conf 结尾添加
<VirtualHost *:80>
ServerAdmin cd@polysoft.com.cn
ServerName http://www.xxxxxx.net
ServerAlias http://www.xxxxxxx.net http://114.111.96.30
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /file http://114.111.96.30:8081/file
ProxyPassReverse /file http://114.111.96.30:8081/file
ProxyPass /cms http://114.111.96.30:8081/cms
ProxyPassReverse /cms http://114.111.96.30:8081/cms
ProxyPass /crm http://114.111.96.30:8082/crm
ProxyPassReverse /crm http://114.111.96.30.cn:8082/crm
ProxyPass /oms http://114.111.96.30:8083/oms
ProxyPassReverse /oms http://114.112.96.30:8083/oms
ProxyPass / http://114.111.96.30:8084/
ProxyPassReverse / http://114.111.96.30:8084/
ErrorLog logs/net_error_log
CustomLog logs/net_custom_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin cd@polysoft.com.cn
ServerName http://www.xxxxxx.net
ServerAlias http://www.xxxxxxx.net http://114.111.96.30
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /file http://114.111.96.30:8081/file
ProxyPassReverse /file http://114.111.96.30:8081/file
ProxyPass /cms http://114.111.96.30:8081/cms
ProxyPassReverse /cms http://114.111.96.30:8081/cms
ProxyPass /crm http://114.111.96.30:8082/crm
ProxyPassReverse /crm http://114.111.96.30.cn:8082/crm
ProxyPass /oms http://114.111.96.30:8083/oms
ProxyPassReverse /oms http://114.112.96.30:8083/oms
ProxyPass / http://114.111.96.30:8084/
ProxyPassReverse / http://114.111.96.30:8084/
ErrorLog logs/net_error_log
CustomLog logs/net_custom_log common
</VirtualHost>
相关文章推荐
- Apache服务的简单配置与管理(基于域名/ip地址访问)
- 怎样在apache服务上配置https安全 域名请求
- windows2003下apache配置虚拟主机和绑定域名服务
- apache 配置多域名访问多服务
- windows2003下apache配置虚拟主机和绑定域名服务
- 在Red Hat Linux5下构建LAMP网站服务平台之编译安装Apache与配置基于域名的虚拟Web主机
- 在RHEL5下构建LAMP网站服务平台之编译安装Apache与配置基于域名的虚拟Web主机
- windows2003下apache配置虚拟主机和绑定域名服务 .
- windows2003下apache配置虚拟主机和绑定域名服务
- 本机测试配置域名服务
- 同一Windows主机上一个Apache服务+两个独立Tomcat服务配置实例
- [RHEL5企业级Linux服务攻略]--第7季 Apache服务全攻略之常规配置 推荐
- Apache 的安装配置,及二级域名的配置
- [RHEL5企业级Linux服务攻略]--第7季 Apache服务全攻略之高级配置
- apache基于IP,port和域名三种虚拟主机配置方法
- 如何配置apache一个ip多域名的虚拟主机?
- 采用动态域名解析配置Apache服务(一)
- 采用动态域名解析配置Apache服务(三)