<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ubuntu,debian,redhat -linuxany.com &#187; 1.Application</title>
	<atom:link href="http://www.linuxany.com/archives/category/application/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description>ubuntu,debian,redhat,fedora,centos</description>
	<lastBuildDate>Thu, 29 Jul 2010 13:01:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ApacheBench with mod_gip, mod_deflate</title>
		<link>http://www.linuxany.com/archives/1344.html</link>
		<comments>http://www.linuxany.com/archives/1344.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 12:55:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[ApacheBench]]></category>
		<category><![CDATA[mod_deflate]]></category>
		<category><![CDATA[mod_gzip]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1344</guid>
		<description><![CDATA[ApacheBench is one of the most common programs used to benchmark web servers.
By default apachebench will run using HTTP/1.0 requests and without compression enabled even if the tested server supports that.
For example:
ab -n 1 -v 4 &#34;http://www.linuxany.com/&#34;

This is ApacheBench, Version 2.0.41-dev &#60;$Revision: 1.141 $&#62; apache-2.0Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/Copyright (c) 1998-2002 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1344.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Logs: how long does it take to serve a request?</title>
		<link>http://www.linuxany.com/archives/1341.html</link>
		<comments>http://www.linuxany.com/archives/1341.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 12:46:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apachelogs]]></category>
		<category><![CDATA[combined]]></category>
		<category><![CDATA[logformat]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1341</guid>
		<description><![CDATA[Apache is one complex piece of software, that contains many features most people are normally not using. You can do so many things with apache outside of the default configurations, and I am not going to discuss today about an external module, but about the plain old mod_log_config.
Normally most people will use for apache logging [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1341.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache:Disable the HTTP TRACE method</title>
		<link>http://www.linuxany.com/archives/1338.html</link>
		<comments>http://www.linuxany.com/archives/1338.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 12:37:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1338</guid>
		<description><![CDATA[Description: How to disable the HTTP TRACE method on recent apache versions.
Most vulnerability scanners (like the popular nessus, but commercial ones also) will complain (normally as a low thread or warning level) about TRACE method being enabled on the web server tested.
Normally you will have this enabled by default, but if you want to test [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1338.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache调试重写规则(mod_rewrite)</title>
		<link>http://www.linuxany.com/archives/1302.html</link>
		<comments>http://www.linuxany.com/archives/1302.html#comments</comments>
		<pubDate>Wed, 26 May 2010 17:59:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1302</guid>
		<description><![CDATA[Apache服务器是最流行的开源服务器，它有一个功能就是基于正则的URL重写功能。但有时我们开启重写规则后，由于正则的复杂性导致一些重写没有生效，这时就需要有一个调试方法来测试重写是否达到我们期望的结果。开启调试可以在Apache的配置文件中的rewrite规则后增加相应两条指令：
RewriteEngine onRewriteRule ^/yesno/(.+\.php)$ /yesno/App/$1RewriteLogLevel 3RewriteLog “/www/linuxany/debug_rewrite.log”
通过以上设置，我们可以在/www/linuxany/debug_rewrite.log中找到相关的重写调试信息。
您还可能感兴趣的内容Python: Basic Socket UDP基于 HTTP 长连接的“服务器推”技术Debian etch待机/休眠(suspend to RAM/DISK)完美解决方案网络诊断工具tcpdumplinux裸设备(raw device)]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1302.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>squid3安装与反向代理配置</title>
		<link>http://www.linuxany.com/archives/1292.html</link>
		<comments>http://www.linuxany.com/archives/1292.html#comments</comments>
		<pubDate>Wed, 26 May 2010 15:04:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Squid]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1292</guid>
		<description><![CDATA[目前两台服务器，IP地址分别为
192.168.1.120&#160; squid192.168.2.50&#160; &#160; web
其中192.168.2.50提供web服务，可直接通过192.168.2.50访问该站点，现在要在192.168.1.120上安装squid来做192.168.2.50的反向代理，当用户访问192.168.1.120时，120服务器将用户的请求转给50，50响应后将响应内容转给120,然后再由120返回给用户。
1. 安装squid解压
tar zxvf squid-3.0.STABLE21.tar.gz

./configure --prefix=/usr/local/squid \--disable-carp \--with-aufs-threads=32 \--with-pthreads \--enable-storeio='ufs,aufs,null' \--enable-disk-io='AIO,Blocking' \--enable-removal-policies='heap,lru' \--disable-wccp \--enable-kill-parent-hack \--disable-snmp \--disable-poll \--disable-select \--enable-auth=basic \--with-aio \--disable-ident-lookup \--with-filedescriptors=65536
编译和安装
make &#38;&#38; make install
2. 配置squid
#vim /usr/local/squid/etc/squid.conf
直接在配置文件最后加入即可
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
# 主机名（3.0加入配置），无此项无法启动
visible_hostname 192.168.1.120 
# 管理员邮箱，会显示在错误信息页面上，方便发生错误时联系！
cache_mgr webmaster@linuxany.com
# 实现透明代理（squid2.7以上），其中vhost是必须的
http_port 80 vhost vport
# 缓存设置
cache_mem 256 MB
maximum_object_size_in_memory 2 MB
# 替换机制(lru叫做“最近不常用的单元”unit一般就是常说object， 也就是当cache
# 中的内容比如内存或硬盘达到上限时就需要进行数据的换进和换出工作)
memory_replacement_policy lru
# 缓存目录512M，其中一级目录16个，二级256个（每个一级下16个二级）
cache_dir ufs /usr/local/squid/var/cache 512 16 256
max_open_disk_fds 0
#缓存内容大小控制，当cache目录被占用到97%时，内容将被清空20%
cache_swap_low 80
cache_swap_high 97
# [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1292.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
