首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

Apache有关知识整理

2012-10-26 
Apache相关知识整理Apache反向代理:ProxyRequests OffProxyPass /abc/http://127.0.0.1/abc/ProxyPassReve

Apache相关知识整理

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 DEFLATEAddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript

?

?

流量限制:

#mod_bwLoadModule bw_module modules/mod_bw.soBandwidthModule OnForceBandWidthModule On<Location /rss/abc>        #for Others        Bandwidth all 5120        MaxConnection all 10        BandWidthError 510</Location>
?引入其他配置:
include myconf/*.conf
?

?

?

?

热点排行