webs
文章平均质量分 57
chenngua
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
apache ab
[size=large]ab - Apache HTTP server benchmarking tool 【基本用法】 ab参数详解:[url]http://httpd.apache.org/docs/2.2/programs/ab.html[/url] ab -n1000 -c10 url 例如:./ab -n1000 -c20 http://ip/xx 【结果分析】 ...原创 2014-05-26 18:32:44 · 156 阅读 · 0 评论 -
apache nginx 多站点部署
【基本介绍】 apache 和 nginx 多站点部署,一般情况有基于端口,基于域名,基于IP。 【基于域名】 每个虚拟主机的站点放在不同目录中,并配置不同的域名 #第一个虚拟主机 server{ listen 80 ; #监听的端口 server_name aaa.domain.com; #主机名称 access_log logs/aaa....原创 2014-06-24 16:05:55 · 216 阅读 · 0 评论 -
nginx - stub_status 连接数查看
【基本介绍】 这里介绍nginx的stub_status模块,可以查看当前web的连接数,请求数等。 【模块查看】 nginx的stub_status模块支持访问状态的信息。所有要查看该模块是否已经安装。 [code="linux"] nginx -V | grep ngx_http_stub_status_module [/code] 【基本配置】 [code="...原创 2014-11-14 17:14:03 · 264 阅读 · 0 评论 -
apache 主服务器部署 - 指令
【基本介绍】 这里介绍apache主服务配置文件httpd.conf中的指令部分。 【指令介绍】 1. ServerName ServerName用来定义Apache默认主机名,这个指令在httpd.conf中默认被注释掉,因此要启动它。 eg: ServerName www.example.com 或者 ServerName 127.0.0.1 如果启动apache的时候...原创 2014-12-12 16:31:41 · 188 阅读 · 0 评论 -
apache 主服务器部署 - 容器
【基本介绍】 这里介绍apache主服务配置文件httpd.conf中的容器部分。 它以开头为结束的样式来对指令进行封装,指令的作用域在容器里面。 【容器介绍】 1. IfModule 容器作用于模块,它会判断模块是否载入,然后再决定是否进行处理,只有在判断结果为真时才会执行容器内的指令,相反如果为假,则会全部忽略。 例如: 如果载入了dir_module模块那么执行里面的指令 ...原创 2014-12-15 17:37:21 · 228 阅读 · 0 评论 -
apache speling_module - URL忽略大小写
【基本介绍】 这里我们介绍apache的speling_module模块,该模块支持URL忽略大小写。windows端大小写不敏感,linux端大小写敏感。 【speling_module】 检查是否有speling_module模块 [code="linux"] [root@xxmodules]# ls -ld /etc/httpd/modules/mod_speling.so ...原创 2014-12-17 14:38:11 · 383 阅读 · 0 评论
分享