﻿<?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; Apache</title>
	<atom:link href="http://laigw.name/tag/apache/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>
		<item>
		<title>Apache+MySQL5+PHP5规范安装</title>
		<link>http://laigw.name/post/38.html</link>
		<comments>http://laigw.name/post/38.html#comments</comments>
		<pubDate>Sat, 15 Nov 2008 02:28:46 +0000</pubDate>
		<dc:creator>Gavin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://www.laigw.name/?p=38</guid>
		<description><![CDATA[·准备篇
Apache: apache_2.2.4-win32-x86-no_ssl.msi(http://httpd.apache.org/download.cgi)
MySQL :  mysql-5.0.27-win32.rar(http://www.mysql.com/)
PHP   :  php-5.2.4-Win32.zip(http://cn.php.net/get/php-5.2.4-Win32.zip/from/a/mirror)

·安装篇
一、安装MySQL
 双击mysql-5.0.27-win32的setup.exe，根据提示操作则可。
二、安装apache,
 双击apache_2.2.4-win32-x86-no_ssl.msi，根据提示操作则可。
三、安装php
 解压到c:\php
·配置篇
一、配置httpd.conf:
1、配置DocumentRoot：
  DocumentRoot  &#8220;c:/programfile/Apache/Apache2/htdocs&#8221;
  &#60;Directory  &#8220;c:/programfile/Apache/Apache2/htdocs&#8221;&#62;
  将&#8221;c:/programfile/Apache/Apache2/htdocs&#8221;  替换为自己想设定的路径
2、配置DirectoryIndex：
  DirectoryIndex index.php  index.htm index.html
3、配置LoadFile和LoadModule：
  # make apache load php5ts.dll while running
  LoadFile c:/php/php5ts.dll
  #  make apache load libmysql.dll while running
  LoadFile c:/php/libmysql.dll

  [...]]]></description>
		<wfw:commentRss>http://laigw.name/post/38.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

