孤独是一种态度
apache
Apache HTTP Server畸形Range选项处理远程拒绝服务漏洞
八 30th
Apache HTTP Server畸形Range选项处理远程拒绝服务漏洞
详细信息:http://www.nsfocus.net/vulndb/17605
漏洞攻击工具:http://seclists.org/fulldisclosure/2011/Aug/175
需要安装perl扩展模块:
# perl -MCPAN -e ‘install Parallel::ForkManager’
原创文章,转载请注明: 转载自gjw_apparitor 博客
apache 配置SSI
四 6th
在apache的 httpd.conf中
去消掉前边的注释
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddHandler server-parsed .shtml .html
Options Indexes FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all
在Directory里添加 Options Indexes FollowSymLinks Includes
原创文章,转载请注明: 转载自gjw_apparitor 博客
本文链接地址: apache 配置SSI
apache worker模式
四 6th
ServerLimit 50 apache 进程数上限
ThreadLimit 110 apache 线程数上限
StartServers 5 apache 启动时默认建立的进程数
MaxClients 5000 最大并发数
MinSpareThreads 25 最小线程空闲数
MaxSpareThreads 200 最大线程空闲数
ThreadsPerChild 100 每个进程最多开启的线程
MaxRequestsPerChild 5000 指令用于控制服务器建立新进程和结束旧进程的频率
MaxRequestsPerChild 等于 MaxSpareThreads 或者 等于0 没有限制 最好不要设置为0防止内存溢出把服务拖死。
ServerLimit 大于 MaxClients/ThreadsPerChild
ThreadLimit 大于 MaxClients/ServerLimit
MaxSpareThreads 大于 ThreadsPerChild
原创文章,转载请注明: 转载自gjw_apparitor 博客
本文链接地址: apache worker模式