日期:2014-05-16 浏览次数:20872 次
Apache反向代理:
ProxyRequests Off ProxyPass /abc/ http://127.0.0.1/abc/ ProxyPassReverse /abc/ http://127.0.0.1/abc/
?
?
Apache虚拟主机:
<VirtualHost *> ServerAdmin ***@bwl.com DocumentRoot /search/apache/htdocs/bwl/ ServerName bwl.com ServerAlias img1.bwl.com img2.bwl.com DirectoryIndex home.html rewriteengine on rewriterule ^/abc/(\d+)\.html /a?id=$1&${query_string} [QSA,pt] </VirtualHost>
?
?
Gzip配置:
SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript
?
?
流量限制:
#mod_bw LoadModule bw_module modules/mod_bw.so BandwidthModule On ForceBandWidthModule On <Location /rss/abc> #for Others Bandwidth all 5120 MaxConnection all 10 BandWidthError 510 </Location>?
include myconf/*.conf?
?
?
?