Proxy and site on same port with Apache 2.2
来源:互联网 发布:java网页游戏开发 编辑:程序博客网 时间:2024/05/23 13:51
# sites-enabled/siteNameVirtualHost *:80<VirtualHost *:80> ServerName site.com</VirtualHost># sites-enabled/proxy<VirtualHost *:80> #ServerName not important ProxyRequests On</VirtualHost>
When using Debian style sites-enabled, make sure Proxy site goes BEFORE actual site in alpha order, i.e. 00proxy vs site
Reason:
Proxy requests having "Host" field set to destination site, i.e. google.com or anything. This will result in matching none of the VirtualHosts' ServerName, and will go to First VirtualHost regardless of ServerName settings.
- Proxy and site on same port with Apache 2.2
- Configure PHP and Django (Python) to run on the same Apache site.
- IIS7 and Apache on the same machine by Steve Schofield
- HOW TO RUN YOUR WEB SERVER AND MQTT WEBSOCKETS BROKER ON THE SAME PORT
- HOW TO RUN YOUR WEB SERVER AND MQTT WEBSOCKETS BROKER ON THE SAME PORT
- .JBOSS 4.3.0 EAP Clustering with multiple instances running on Same machine balanced with Apache HTT
- Apache Proxy and WebLogic Proxy
- Running Multiple Apache Tomcat on same Machine
- apache IIS Port Conflicts On 80
- 关于Apache: [warn] _default_ VirtualHost overlap on port 80, the first has precedence Error and Solution的解决方案
- How to run oaisim with virtual MME on same machine
- Deploying Django with Apache and mod_wsgi Based on Red Hat Enterprise Linux Server
- How To Setup a Rails 4 App With Apache and Passenger on CentOS 6
- How to Install PHP 7 with Apache and MariaDB on CentOS 7/Debian 8
- nginx installation on redhat6.6 with non 80 port
- unable to start the monitor on 4454 ,an other instance is problaly using the same port
- XAMPP Apache Service is already running on port 443
- WebSphere Portal Transfer with XMLAccess, Release Builder and Site Management
- Linux 下的一个全新的性能测量和调式诊断工具 Systemtap, 第 3 部分: Systemtap
- useradd 和adduser之我鉴
- 嵌入式CPU的启动方式和启动地址
- 关于上线后系统修改流程的一些小总结
- 两种开发方法的SVN目录结构
- Proxy and site on same port with Apache 2.2
- MySQL Workbench 不能删除数据等问题(“Error Code: 1175”) 的解决方法
- TotoiseSVN的基本使用方法
- 在MFC中使用自动化接口操作WORD
- iwlist
- x264中scenecut的意义
- Silverlight自定义控件 文章收集
- Annotated Lucene(源码剖析中文版)
- onkeypress onkeyup onkeydown 的区别