Browse > Home / Archive by category 'Apache'

| Subcribe via RSS

js脚本的并行download

09月 13th, 2008 | No Comments | Posted in Apache | by i_amok | 329 views |

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

Apache多虚拟主机的简单配置

09月 11th, 2008 | No Comments | Posted in Apache | by finalbsd | 585 views |

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

Apache -- 设置环境变量

07月 9th, 2008 | No Comments | Posted in Apache, HTTP | by finalbsd | 190 views |

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... Tags: , , ,

FastCGI在Apache2中的配置.

07月 4th, 2008 | 2 Comments | Posted in Apache | by i_amok | 247 views |

具体配置: 

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

安装

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

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

06月 27th, 2008 | No Comments | Posted in Apache | by i_amok | 154 views |

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

KeepAlive

06月 19th, 2008 | No Comments | Posted in Apache | by admin | 150 views |

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

Apache mod_expires

06月 15th, 2008 | No Comments | Posted in Apache | by admin | 154 views |

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

反向代理配置

01月 16th, 2008 | No Comments | Posted in Apache | by admin | 112 views |

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

HTTP Header about on LoadBalance and Reverse Proxy environment

12月 25th, 2007 | No Comments | Posted in Apache | by admin | 110 views |

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

...

Apache Cache System

11月 30th, 2007 | No Comments | Posted in Apache | by admin | 131 views |

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


Page 1 of 212»