<?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://zhoumo123.cn/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://zhoumo123.cn</link>
	<description>知识分享，共同进步。zhoumo123.cn</description>
	<lastBuildDate>Thu, 07 Nov 2019 05:53:49 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.1</generator>
	<item>
		<title>apache多个端口多站点配置</title>
		<link>http://zhoumo123.cn/apache/3570.html</link>
		<comments>http://zhoumo123.cn/apache/3570.html#comments</comments>
		<pubDate>Fri, 08 Apr 2016 02:09:43 +0000</pubDate>
		<dc:creator><![CDATA[zhangc]]></dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://zhoumo123.cn/?p=3570</guid>
		<description><![CDATA[如何在本机实现绑定多个端口多站点的方法； 配置apache的方法这里就不多说了，可以参考： 知道配置文件：apache安装目录/conf/httpd.conf 找到 # Virtual hosts #Include conf/extra/httpd-vhosts.conf 去掉# 如下： # Virtual hosts Include conf/extra/httpd-vhosts.conf 去掉#是为了加载扩展配置 找到apache安装目录/conf/extra/httpd-vhosts.conf 我们就开始在这个文件里面配置多端口多站点了。 比如我们添加一个8080端口的站点 找到 Nam ...  <a href="http://zhoumo123.cn/apache/3570.html">  阅读全文 </a>]]></description>
				<content:encoded><![CDATA[<p>如何在本机实现绑定多个端口多站点的方法；</p>
<p>配置apache的方法这里就不多说了，可以参考：</p>
<p>知道配置文件：apache安装目录/conf/httpd.conf</p>
<p>找到</p>
<p><span style="color: #3366ff;"># Virtual hosts</span></p>
<p><span style="color: #3366ff;">#Include conf/extra/httpd-vhosts.conf</span></p>
<p>去掉#</p>
<p>如下：</p>
<p><span style="color: #3366ff;"># Virtual hosts</span></p>
<p><span style="color: #3366ff;">Include conf/extra/httpd-vhosts.conf</span></p>
<p>去掉#是为了加载扩展配置</p>
<p>找到apache安装目录<span style="color: #3366ff;">/conf/extra/httpd-vhosts.conf</span></p>
<p>我们就开始在这个文件里面配置多端口多站点了。</p>
<p>比如我们添加一个8080端口的站点</p>
<p>找到</p>
<p><span style="color: #3366ff;">NameVirtualHost *:80</span></p>
<p>在下面添加一个8080端口</p>
<p>Listen 8080</p>
<p>然后在找到</p>
<p>ServerAdmin webmaster@dummy-host.example.com</p>
<p>DocumentRoot &#8220;c:/Apache24/docs/dummy-host.example.com&#8221;</p>
<p>ServerName dummy-host.example.com</p>
<p>ServerAlias www.dummy-host.example.com</p>
<p>ErrorLog &#8220;logs/dummy-host.example.com-error.log&#8221;</p>
<p>CustomLog &#8220;logs/dummy-host.example.com-access.log&#8221; common</p>
<p>&nbsp;</p>
<p>这里的数据是不是很多啊，我们不需要那么多，我们只需要服务器名，和项目目录就行了</p>
<p>我们改成</p>
<p><span style="color: #3366ff;">DocumentRoot &#8220;D:/www&#8221;</span></p>
<p><span style="color: #3366ff;">ServerName localhost</span></p>
<p><span style="color: #3366ff;">ServerAlias localhost</span></p>
<p>&nbsp;</p>
<p>如果想要通过8080端口访问，我们则添加下面的端口</p>
<p><span style="color: #3366ff;">DocumentRoot &#8220;D:/www/test&#8221;</span></p>
<p><span style="color: #3366ff;">ServerName localhost</span></p>
<p><span style="color: #3366ff;">ServerAlias localhost</span></p>
<p>&nbsp;</p>
<p>现在我们已经成功配置好多端口多站点了，我们重启一下apache，再来测试一下。</p>
<p>下面我们在浏览器输入</p>
<p>localhost</p>
<p>则默认访问的是D:/www项目</p>
<p>输入localhost:8080</p>
<p>访问的则是D:/www/test项目</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>http://www.liqingbo.cn/blog-320.html</p>
]]></content:encoded>
			<wfw:commentRss>http://zhoumo123.cn/apache/3570.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpwind9.0安装出现Internal Server Error错误解决办法</title>
		<link>http://zhoumo123.cn/apache/3561.html</link>
		<comments>http://zhoumo123.cn/apache/3561.html#comments</comments>
		<pubDate>Tue, 23 Feb 2016 06:34:05 +0000</pubDate>
		<dc:creator><![CDATA[zhangc]]></dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://zhoumo123.cn/?p=3561</guid>
		<description><![CDATA[Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error. More informat ...  <a href="http://zhoumo123.cn/apache/3561.html">  阅读全文 </a>]]></description>
				<content:encoded><![CDATA[<p>Internal Server Error</p>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.</p>
<p>More information about this error may be available in the server error log.<br />
phpwind9.0安装时出现以上错误信息原因在于apache中的rewrite模块没有打开,</p>
<p><strong>解决办法：</strong><br />
在httpd.conf文件中找到<br />
<span style="color: #0000ff;">;LoadModule rewrite_module modules/mod_rewrite.so</span><br />
去掉 ; 保存之后重启apache。</p>
]]></content:encoded>
			<wfw:commentRss>http://zhoumo123.cn/apache/3561.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux 下 apache启动、停止、重启命令</title>
		<link>http://zhoumo123.cn/apache/246.html</link>
		<comments>http://zhoumo123.cn/apache/246.html#comments</comments>
		<pubDate>Thu, 14 Aug 2014 03:26:55 +0000</pubDate>
		<dc:creator><![CDATA[zhangc]]></dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://zhoumo123.cn/?p=246</guid>
		<description><![CDATA[基本的操作方法： 本文假设你的apahce安装目录为/usr/local/apache2，这些方法适合任何情况 apahce启动命令： 推荐/usr/local/apache2/bin/apachectl start apaceh启动 apache停止命令 /usr/local/apache2/bin/apachectl stop 停止 apache重新启动命令： /usr/local/apache2/bin/apachectl restart 重启 要在重启 Apache 服务器时不中断当前的连接，则应运行： /usr/local/sbin/apachectl graceful 如果apac ...  <a href="http://zhoumo123.cn/apache/246.html">  阅读全文 </a>]]></description>
				<content:encoded><![CDATA[<p><strong>基本的操作方法：</strong><br />
本文假设你的apahce安装目录为/usr/local/apache2，这些方法适合任何情况</p>
<p><strong>apahce启动命令：</strong><br />
推荐/usr/local/apache2/bin/apachectl start apaceh启动</p>
<p><strong>apache停止命令</strong><br />
/usr/local/apache2/bin/apachectl stop 停止</p>
<p><strong>apache重新启动命令：</strong><br />
/usr/local/apache2/bin/apachectl restart 重启</p>
<p><strong>要在重启 Apache 服务器时不中断当前的连接，则应运行：</strong></p>
<p>/usr/local/sbin/apachectl graceful</p>
<p><strong>如果apache安装成为linux的服务的话，可以用以下命令操作：</strong></p>
<p>service httpd start 启动</p>
<p>service httpd restart 重新启动</p>
<p>service httpd stop 停止服务</p>
<h1>
<strong>Linux系统为Ubuntu</strong></h1>
<p><strong>一、Start Apache 2 Server /启动apache服务</strong></p>
<p># /etc/init.d/apache2 start<br />
or<br />
$ sudo /etc/init.d/apache2 start</p>
<p><strong>二、 Restart Apache 2 Server /重启apache服务</strong></p>
<p># /etc/init.d/apache2 restart<br />
or<br />
$ sudo /etc/init.d/apache2 restart</p>
<p><strong>三、Stop Apache 2 Server /停止apache服务</strong></p>
<p># /etc/init.d/apache2 stop<br />
or<br />
$ sudo /etc/init.d/apache2 stop</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://zhoumo123.cn/apache/246.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
