﻿<?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>Gavin&#039;s Blog &#187; 配置</title>
	<atom:link href="http://laigw.name/tag/%e9%85%8d%e7%bd%ae/feed" rel="self" type="application/rss+xml" />
	<link>http://laigw.name</link>
	<description>Keep it simple, stupid. Simplicity is beauty.</description>
	<lastBuildDate>Sun, 29 Jan 2012 07:14:51 +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>Apache服务器配置</title>
		<link>http://laigw.name/post/73.html</link>
		<comments>http://laigw.name/post/73.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:47:45 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=73</guid>
		<description><![CDATA[Apache服务器的设置文件位于/usr/local/etc/apache目录下，传统上使用三个配置文件httpd.conf, access.conf和srm.conf，来配置Apache服务器的行为。httpd. conf提供了最基本的服务器配置，是对守护程序httpd如何运行的技术描述；srm.conf是服务器的资源映射文件，告诉服务器各种文件的MIME 类型，以及如何支持这些文件；　　 
access.conf用于配置服务器的访问权限，控制不同用户和计算机的访问限制；这三个配置文件控制着服务器的各个方面 的特性，因此为了正常运行服务器便需要设置好这三个文件。除了这三个设置文件之外，Apache还使用mime.types文件用于标识不同文件对应的MIME类型， magic文件设置不同MIME类型文件的一些特殊标识，使得Apache服务器从文档后缀不能判断出文件的MIME 类型时，能通过文件内容中的这些特殊标记来判断文档的MIME类型。


bash-2.02$ ls -l /usr/local/etc/apache
total 100
-rw-r–r–   1 root  wheel    348 Apr 16 16:01 access.conf
-rw-r–r–   1 root  wheel    348 Feb 13 13:33 access.conf.default
-rw-r–r–   1 root  wheel  30331 May 26 08:55 httpd.conf
-rw-r–r–   1 [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/73.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

