<?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>大风口 &#187; apache</title>
	<atom:link href="http://www.masterboke.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.masterboke.com</link>
	<description>I want to change the world!</description>
	<lastBuildDate>Fri, 16 Sep 2011 09:41:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>windows下配置apache虚拟主机</title>
		<link>http://www.masterboke.com/2009/04/02/windows-apache-virtualhost/</link>
		<comments>http://www.masterboke.com/2009/04/02/windows-apache-virtualhost/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 01:35:17 +0000</pubDate>
		<dc:creator>boke</dc:creator>
				<category><![CDATA[操作系统&应用程序]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.masterboke.cn/?p=399</guid>
		<description><![CDATA[<a href="http://www.masterboke.com/2009/04/02/windows-apache-virtualhost/" title="windows下配置apache虚拟主机"></a>网上写的有点乱，自己综合着配置了一下，记录记录。 先说一下我机器上的环境，很简单，xampp 1.7，apache，php，mysql都有了，装在D:\xampp下。 1. 找到并打开httpd.conf，我这里在D:\xampp\apache\conf文件夹下。网上说要像这样注释掉#ServerAdmin admin@localhost ，#ServerName localhost:80，#DocumentRoot DocumentRoot “D:/xampp/htdocs”三行，但是这样就不能localhost了，我这里没注。 2. 去掉mod_proxy.so和mod_proxy_ajp.so的注释 3. 找到Include conf/extra/httpd-vhosts.conf这行，看看有没有被注释掉，如果有，去掉注释。 4. 找到并打开httpd-vhosts.conf，我这里在D:\xampp\apache\conf\extra文件夹下 5. 在该文件最末尾添加一段 NameVirtualHost 192.168.70.194:80 &#60;VirtualHost 192.168.70.194:80&#62;     ServerAdmin made@made.net     ServerName www.pojaa.com     DocumentRoot D:/www/htdocs/www     &#60;Directory “D:/www/htdocs/www”&#62;         DirectoryIndex index.php         AllowOverride &#8230;<p class="read-more"><a href="http://www.masterboke.com/2009/04/02/windows-apache-virtualhost/">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.masterboke.com/2009/04/02/windows-apache-virtualhost/" title="windows下配置apache虚拟主机"></a><p><span class="pleft">网上写的有点乱，自己综合着配置了一下，记录记录。</span></p>
<p><span class="pleft">先说一下我机器上的环境，很简单，xampp 1.7，apache，php，mysql都有了，装在D:\xampp下。</span></p>
<p><span class="pleft">1. 找到并打开httpd.conf，我这里在D:\xampp\apache\conf文件夹下。网上说要像这样注释掉#ServerAdmin admin@localhost ，#ServerName localhost:80，#DocumentRoot DocumentRoot “D:/xampp/htdocs”三行，但是这样就不能localhost了，我这里没注。</span></p>
<p><span class="pleft">2. 去掉mod_proxy.so和mod_proxy_ajp.so的注释</span></p>
<p><span class="pleft">3. 找到Include conf/extra/httpd-vhosts.conf这行，看看有没有被注释掉，如果有，去掉注释。</span></p>
<p><span class="pleft">4. 找到并打开httpd-vhosts.conf，我这里在D:\xampp\apache\conf\extra文件夹下</span></p>
<p><span class="pleft">5. 在该文件最末尾添加一段</span><br />
NameVirtualHost 192.168.70.194:80<br />
&lt;VirtualHost 192.168.70.194:80&gt;<br />
    ServerAdmin made@made.net<br />
    ServerName www.pojaa.com<br />
    DocumentRoot D:/www/htdocs/www<br />
    &lt;Directory “D:/www/htdocs/www”&gt;<br />
        DirectoryIndex index.php<br />
        AllowOverride All<br />
        Order allow,deny<br />
        Allow from all<br />
        Options Indexes FollowSymLinks Includes ExecCGI<br />
    &lt;/Directory&gt;<br />
    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log<br />
    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common<br />
&lt;/VirtualHost&gt;</p>
<p>ok,重启apache，搞定</p>
]]></content:encoded>
			<wfw:commentRss>http://www.masterboke.com/2009/04/02/windows-apache-virtualhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

