<?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>PHP Made Simple &#187; apache</title>
	<atom:link href="http://www.phpmadesimple.info/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmadesimple.info</link>
	<description>To support simplicity, possiibility and cost effective of PHP</description>
	<lastBuildDate>Tue, 03 Aug 2010 14:13:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Apache on Windows</title>
		<link>http://www.phpmadesimple.info/2008/01/17/installing-apache-on-windows/</link>
		<comments>http://www.phpmadesimple.info/2008/01/17/installing-apache-on-windows/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 07:09:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[level 1]]></category>

		<guid isPermaLink="false">http://artemis.com.vn/blogvui/?p=21</guid>
		<description><![CDATA[Because it&#8217;s the most popular web server in use, you might think that Apache is a complicated piece of software, but it&#8217;s not difficult at all.
Installing Apache for Windows is a simple task, due in great part to the installation wizard distributed by the Apache Group. While running any web server on a Windows operating [...]]]></description>
			<content:encoded><![CDATA[<p>Because it&#8217;s the most popular web server in use, you might think that Apache is a complicated piece of software, but it&#8217;s not difficult at all.</p>
<p>Installing Apache for Windows is a simple task, due in great part to the installation wizard distributed by the Apache Group. While running any web server on a Windows operating system is not as fast, stable, or secure as running a web server on a Linux/Unix machine. However, installing and configuring a development web server on a Windows-based operating system is perfectly acceptable, and is how most users get their start.<span id="more-21"></span></p>
<p>To download the Apache distribution for Windows, start at the Apache Server website, http://httpd.apache.org/, and follow the Download link. As of this writing, the current version is 2.0.49, so the file used as an example throughout this section is apache_2.0.49- win32-x86-no_ssl.msi. Once you have downloaded the installation file to your hard drive, double-click the file called apache_2.0.49-win32-x86-no_ssl.msi to start the installation wizard.</p>
<p>Note: When you are ask how to run Apache, choose the Run as Service for All Users radio button.</p>
<p>To run a basic test before moving forward to configuring your server, choose Program Files, Apache HTTP Server 2.0.49, Configure Apache Server, Test Configuration from the Windows Start menu. This will launch a console window showing a successful installation.</p>
<p>Configuring Apache on Windows<br />
The master configuration file for Apache is called httpd.conf, and it lives in the conf directory, within the Apache installation directory. So if your installation directory is C:\Program Files\Apache Group\Apache2\, the httpd.conf file will be in C:\Program Files\Apache Group\Apache2\conf\.</p>
<p>Two values you usually want to change are the listen on port and the document root.</p>
<pre class="brush: xml">
#Listen 12.34.56.78:80
Listen 8080
ServerName localhost:8080
</pre>
<p>By default Apache is installed to listen of default HTTP port 80. However, your Windows might has IIS (Internet Information Server) installed and takes that port already. The alternative port other developers love to use is 8080, like what I configured for my Apache.</p>
<pre class="brush: xml">

DocumentRoot &quot;D:/projects/www&quot;
</pre>
<p>By default, the document root where we will serve data for web client is Path_to_apache/htdocs. You may want to change it to an easier to access location on your development environment. Remember that Apache protect your hard drive data from web user, thus you have to change the permission for users to access your new DocumentRoot.</p>
<p><directory>
<pre class="brush: xml">
&lt;/directory&gt;&lt;directory &quot;D:/projects/www&quot;&gt;
#
# Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that &quot;MultiViews&quot; must be named *explicitly* --- &quot;Options All&quot;
# doesn&#039;t give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

&lt;/directory&gt;
</pre>
<p>Restart your apache so that your new configuration can take effect. Now, you can test connect to Apache web server from web browser.</p>
<p>http://localhost OR<br />
http://localhost:8080 if you modify port that Apache listen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpmadesimple.info/2008/01/17/installing-apache-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
