apache反向代理,动静分离

- ProxyPass /upload ! #不走代理,虚拟主机自己处理,对应路径DocumentRoot目录下

创新互联公司专注于临夏州网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供临夏州营销型网站建设,临夏州网站制作、临夏州网页设计、临夏州网站官网定制、小程序开发服务,打造临夏州网络公司原创品牌,更为您提供临夏州网站排名全网营销落地服务。

- ProxyPass /photo !

- ProxyPass /*.jpg !

- ProxyPass /*.gif !

- ProxyPass /*.png !

- ProxyPass /*.jpeg !

-

- ProxyRequests Off

- ProxyPass / balancer://125home/ lbmethod=byrequests stickysession=JSESSIONID nofailover=Off timeout=5 maxattempts=3

-

-

-

-

-

- DocumentRoot "/data/home"

- ServerAlias 125home.cn i.125home.cn

- ErrorLog "/data/logs/125home.cn-error_log"

- CustomLog "/data/logs/125home.cn-access_log" common

-

- ProxyVia Off

- ProxyRequests Off

- ProxyPreserveHost On

-

-

-

- RewriteEngine On

-

-

- DirectoryIndex index.html

- # Options Indexes FollowSymlinks MultiViews

- Options Indexes FollowSymLinks Includes ExecCGI

- AllowOverride All

- Order deny,allow

- Require all granted

- Allow from all

-

-


文章标题:apache反向代理,动静分离
文章链接:http://scyanting.com/article/cpoieo.html