- ProxyPass /upload ! #不走代理,虛擬主機自己處理,對應(yīng)路徑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
-
- <Proxy balancer://125home>
-
- <VirtualHost *:80>
-
- 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
-
- <Directory "/data/home">
- DirectoryIndex index.html
- # Options Indexes FollowSymlinks MultiViews
- Options Indexes FollowSymLinks Includes ExecCGI
- AllowOverride All
- Order deny,allow
- Require all granted
- Allow from all
- </Directory>
- </VirtualHost>
網(wǎng)頁題目:apache反向代理,動靜分離
分享網(wǎng)址:http://www.rwnh.cn/article40/cpoieo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供手機網(wǎng)站建設(shè)、企業(yè)網(wǎng)站制作、網(wǎng)站收錄、關(guān)鍵詞優(yōu)化、網(wǎng)站建設(shè)、品牌網(wǎng)站設(shè)計
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)