www.sanotes.net
2010年03月10日

现在位置 >首页 > 所有 Apache 分类文章

js脚本的并行download

2008年09月13日 添加评论 1342次浏览

今天Laurence 给我看了一个ppt,我觉得很好,因为默认js都是顺序加载的,但是通过一定的设置后,是可以并行加载的,这个对于减少js的加载等待很有帮助。
ppt http://stevesouders.com/docs/oscon...

分类:Apache | 阅读全文

Apache多虚拟主机的简单配置

2008年09月11日 添加评论 1598次浏览

作者:FinalBSD
日期:2008-09-11
原文地址:http://www.sanotes.net/html/y2008/181.html
需求:
一台apache上要服务很多的虚拟主机,这些虚拟主机的域名具有规律性,比如说是:xxx.example.com

分类:Apache | 阅读全文

Apache -- 设置环境变量

2008年07月09日 添加评论 1197次浏览

Setting Environment Variables
这篇文章主要来自Apache: The Definitive Guide,中文部分由我补充。
When a script is called it receives a lot of environment variables, as we have seen. It may be that you want to pass some of you...

分类:Apache, HTTP | 阅读全文

FastCGI在Apache2中的配置.

2008年07月04日 2 条评论 1255次浏览

具体配置: 

<Directory "/opt/wwwroot/sss.xxx.com/fast-cgi">   
Options ExecCGI
AddHandler fastcgi-script .fcg
</Directory>

安装

$ cd <mod_fastcgi_dir>
$ cp Makefile.AP2 Make...

分类:Apache | 阅读全文

apache代理+负载均衡的配置范例

2008年06月27日 添加评论 1160次浏览

       
#<IfModule mod_proxy.c>
        #       ProxyRequests Off
        #       <Proxy *>
        #       Order deny,allow
        #       Allow fro...

分类:Apache | 阅读全文

KeepAlive

2008年06月19日 添加评论 1155次浏览

Title:KeepAlive
Author:FinalBSD
Connection:KeepAlive
KeepAlive:timeout=5,max=100
其中
1、timeout对应于Apache配置文件中的KeepAliveTimeout
2、max=100对应于apache配置MaxKeepAliveRequeststimeout=%d,max...

分类:Apache | 阅读全文

Apache mod_expires

2008年06月15日 添加评论 1159次浏览

Author:FinalBSD
可用的指令如下:
ExpiresActive on|off
ExpiresDefault <code><seconds>
ExpiresByType type/encoding <code><seconds>1.其中<code>为M或者A
M =>  Expires Header显...

分类:Apache | 阅读全文

反向代理配置

2008年01月16日 添加评论 1118次浏览

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName mgs194.example.com
    ProxyPreserveHost on
    ProxyRequests On
    ProxyPass / http://10.10.1.1:8000/
    ProxyPassReverse / http://10.0....

分类:Apache | 阅读全文

HTTP Header about on LoadBalance and Reverse Proxy environment

2007年12月25日 添加评论 1116次浏览

http://atman.memoab.com/articles/92

收藏、分享这篇文章!

...
分类:Apache | 阅读全文

Apache Cache System

2007年11月30日 添加评论 1139次浏览

modules/cache下面有很多的.c文件,大致用途如:
mod_cache.c 编译得到mod_cache.so 主要用来控制整个apache的cache功能。
mod_file_cache.c,mod_mem_cache.c,mod_disk_cache.c这个三个文件编译后得到各自的ca...

分类:Apache | 阅读全文