<?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>Technology Articles &#187; Apache</title>
	<atom:link href="http://technologydribble.info/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://technologydribble.info</link>
	<description>Articles About Technology</description>
	<lastBuildDate>Mon, 19 Dec 2011 11:11:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting Up Virtual Directory In Apache 2.2</title>
		<link>http://technologydribble.info/2009/08/23/setting-up-virtual-directory-in-apache-2-2/</link>
		<comments>http://technologydribble.info/2009/08/23/setting-up-virtual-directory-in-apache-2-2/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 01:37:39 +0000</pubDate>
		<dc:creator>ryelpango</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Virtual Directory]]></category>
		<category><![CDATA[apache 2.2]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://technologydribble.info/?p=150</guid>
		<description><![CDATA[In order to allow web access to a different directory outside the root directory, you need to give Apache access to the directory, and then use the Alias directive. The Alias directive will map any directory into the web root. &#8230; <a href="http://technologydribble.info/2009/08/23/setting-up-virtual-directory-in-apache-2-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In order to allow web access to a different directory outside the root directory, you need to give Apache access to the directory, and then use the <strong>Alias</strong> directive. The Alias directive will map any directory into the web root.</p>
<p>For example if you want to create a virtual directory called <strong>test</strong>, and the directory is in the <strong>D:/example/test</strong>, then modify your <strong>httpd.conf</strong> and add the following entry at the bottom of the file:</p>
<pre>&lt;Directory "D:/example/test/"&gt;
    Options Indexes
    AllowOverride all
    Order Allow,Deny
    Allow from all
&lt;/Directory&gt;

Alias /test D:/example/test</pre>
<p>On a typical Windows installation, the <strong>httpd.conf</strong> file is usually located in the following directory:</p>
<pre>C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf</pre>
<p>So if a file <strong>file.htm</strong> exists in <strong>D:/example/test</strong>,<strong>  </strong>the URL of the resource is:</p>
<p><a href="http://www.example.com/test/file.html">http://www.example.com/test/file.html</a></p>
<p>and it will be served from:</p>
<pre>D:/example/test/file.html</pre>
<p>For more information visit the <a href="http://httpd.apache.org/docs/2.2/urlmapping.html">Apache HTTP Server Version 2.2 documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://technologydribble.info/2009/08/23/setting-up-virtual-directory-in-apache-2-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configuring PHP in Apache</title>
		<link>http://technologydribble.info/2008/10/06/configuring-php-in-apache/</link>
		<comments>http://technologydribble.info/2008/10/06/configuring-php-in-apache/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 10:11:55 +0000</pubDate>
		<dc:creator>ryelpango</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://technologydribble.info/?p=10</guid>
		<description><![CDATA[To enable PHP in Apache you need to do the following. You need to tell PHP the root directory of Apache ie. In PHP.INI change the doc_root variable so that it holds the root directory of Apache: Change PHP.INI (Usually &#8230; <a href="http://technologydribble.info/2008/10/06/configuring-php-in-apache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To enable PHP in Apache you need to do the following.</p>
<p>You need to tell PHP the root directory of Apache ie. In PHP.INI change the doc_root variable so that it holds the root directory of Apache:</p>
<p>Change PHP.INI (Usually located in [DRIVE]:\PHP\) entry for doc_root:</p>
<pre>doc_root = "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs"</pre>
<p>Add the following lines in HTTPD.CONF (Usually located in [DRIVE]:\Program Files\Apache Software Foundation\Apache2.2\conf\):</p>
<pre>ScriptAlias /php/ "C:/Program Files/PHP/"
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php "/php/php-cgi.exe"
SetEnv PHPRC "C:/Program Files/PHP"

DirectoryIndex index.html index.php</pre>
<p>Remove deny all from the following entry in HTTPD.CONF:</p>
<pre>&lt;Directory /&gt;
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
&lt;/Directory&gt;</pre>
<p>So that the new entry looks similar to:</p>
<pre>&lt;Directory /&gt;
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
&lt;/Directory&gt;</pre>
<p>That&#8217;s it&#8230; Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://technologydribble.info/2008/10/06/configuring-php-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

