<?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>Xrvel Programming Blog &#187; Apache</title>
	<atom:link href="http://www.xrvel.com/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xrvel.com</link>
	<description>Xrvel Blog</description>
	<lastBuildDate>Wed, 18 Aug 2010 04:20:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Apache Stopped Working on Windows</title>
		<link>http://www.xrvel.com/362/programming/apache-stopped-working-on-windows</link>
		<comments>http://www.xrvel.com/362/programming/apache-stopped-working-on-windows#comments</comments>
		<pubDate>Wed, 18 Aug 2010 04:02:24 +0000</pubDate>
		<dc:creator>Xrvel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[HTTPD]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.xrvel.com/?p=362</guid>
		<description><![CDATA[Since about 3 weeks ago until today, my Apache server stopped working on Windows XP. I have no idea why it was stopped. I have searched some solutions on Google about this. Some solution asked whether i have Skype installed &#8230; <a href="http://www.xrvel.com/362/programming/apache-stopped-working-on-windows">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since about 3 weeks ago until today, my Apache server stopped working on Windows XP. I have no idea why it was stopped. I have searched some solutions on Google about this. Some solution asked whether i have Skype installed on my machine, because it was known that Skype can cause conflict with apache because Skype uses port 80 (solution if Skype is the reason is : 1) uninstalling Skype, or 2) modify apache port to 8081 for example).<br />
<span id="more-362"></span></p>
<p>Here is my apache error log.</p>
<pre>
[Tue Jul 27 11:05:13 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Tue Jul 27 11:05:13 2010] [notice] Server built: Dec 10 2008 00:10:06
[Tue Jul 27 11:05:13 2010] [notice] Parent: Created child process 3372
[Tue Jul 27 11:05:15 2010] [notice] Child 3372: Child process is running
[Tue Jul 27 11:05:15 2010] [notice] Child 3372: Acquired the start mutex.
[Tue Jul 27 11:05:15 2010] [notice] Child 3372: Starting 64 worker threads.
[Tue Jul 27 11:05:15 2010] [notice] Child 3372: Starting thread to listen on port 80.
</pre>
<p>I have tried to install wampserver and xamp, but both gave me same error message.</p>
<p>Some solutions also described that we have to restart apache, windows, check firewall setting, etc, but it didn&#8217;t work on my situation.<br />
Finally i have found a REAL solution. It seems it is related to my <strong>antivirus</strong>.<br />
The solution is adding these lines to httpd.conf file.</p>
<pre>
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
</pre>
<p>And restart the Apache server. And it worked <img src='http://www.xrvel.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="Apache Stopped Working on Windows Image" /><br />
Thanks to idiotnesia, kaskus. <img src='http://www.xrvel.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' title="Apache Stopped Working on Windows Image" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.xrvel.com/362/programming/apache-stopped-working-on-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>With or Without WWW</title>
		<link>http://www.xrvel.com/7/website/with-or-without-www</link>
		<comments>http://www.xrvel.com/7/website/with-or-without-www#comments</comments>
		<pubDate>Thu, 15 May 2008 06:48:10 +0000</pubDate>
		<dc:creator>Xrvel</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.xrvel.com/blog/?p=4</guid>
		<description><![CDATA[Folks, some of you have might have a website. For example you develop http://www.google.com (OF COURSE this is just an example ). You might have a question, whether use http://google.com (w/o &#8220;www&#8221;), or http://www.google.com (w/ &#8220;www&#8221;). I don&#8217;t suggest that &#8230; <a href="http://www.xrvel.com/7/website/with-or-without-www">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Folks, some of you have might have a website. For example you develop <a href="http://www.google.com" target="_blank">http://www.google.com</a> (OF COURSE this is just an example <img src='http://www.xrvel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="With or Without WWW Image" /> ). You might have a question, whether use <a href="http://google.com" target="_blank">http://google.com</a> (w/o &#8220;www&#8221;), or <a href="http://www.google.com" target="_blank">http://www.google.com</a> (w/ &#8220;www&#8221;). I don&#8217;t suggest that &#8220;www&#8221; is better, vice versa. But i&#8217;ll tell it about how to use with only, or without only.</p>
<p>The key is, you must create a .htaccess file in your root directory (or modify the old one if you&#8217;ve had it)</p>
<p>If you choose <strong>with</strong> www, use it in your .htaccess file</p>
<pre style="background-color:#F3F3F3;font-size:1.2em;padding:1em;">&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on

  RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

&lt;/IfModule&gt;</pre>
<p><span id="more-7"></span>If you choose <strong>without</strong> www, use it in your .htaccess file</p>
<pre style="background-color:#F3F3F3;font-size:1.2em;padding:1em;">&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on

  RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
  RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

&lt;/IfModule&gt;</pre>
<p><span style="color: #ff0000;"><strong>Note : Your server <em>must</em> support rewrite module.</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xrvel.com/7/website/with-or-without-www/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
