<?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>Developing  New Paths &#187; Webserver directory index</title>
	<atom:link href="http://www.mojavi.org/tag/webserver-directory-index/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mojavi.org</link>
	<description>The Mojavi Project</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:07:31 +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>CMS Software to maximize your customer experience</title>
		<link>http://www.mojavi.org/cms-software-to-maximize-your-customer-experience/</link>
		<comments>http://www.mojavi.org/cms-software-to-maximize-your-customer-experience/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 05:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web application]]></category>
		<category><![CDATA[Webserver directory index]]></category>

		<guid isPermaLink="false">http://www.mojavi.org/?p=300</guid>
		<description><![CDATA[Those in the IT and programming field understand the value enterprise content management and what that can ultimately mean to an organization on the overall company vision and engagement with their external and internal customers. Through the open development of platforms like Mojavi this collaboration has enabled people from across the globe to contribute in [...]]]></description>
			<content:encoded><![CDATA[<p> Those in the IT and programming field understand the value <a title="Content management" href="http://www.omniture.com/en/products/conversion/publish" target="_self">enterprise content management</a> and what that can ultimately mean to an organization on the overall company vision and engagement with their external and internal customers. Through the open development of platforms like Mojavi this collaboration has enabled people from across the globe to contribute in developing a platform that can be used in various business and web functions in order to facilitate customer engagement.</p>
<p><img class="alignleft size-full wp-image-301" title="customer management" src="http://www.mojavi.org/wp-content/uploads/2009/09/customer-management.jpg" alt="customer management" width="116" height="109" />When you have the Mojavi 3 source, it should come with this directory structure:</p>
<p>root<br />
|<br />
|&#8212;config<br />
|<br />
|&#8212;phing<br />
|<br />
|&#8212;php_documentor<br />
|<br />
|&#8212;source<br />
| |<br />
| |&#8212;mojavi<br />
| |<br />
| |&#8212;webapp<br />
| |<br />
| |&#8212;www<br />
|<br />
|&#8212;sql</p>
<p>Here is a brief explination of each of the directories</p>
<p>* config &#8211; sample configuration files<br />
* phing &#8211; phing scripts (learn more about phing here )<br />
* php_documentor &#8211; templates for generating Mojavi API docs php Documentor website<br />
* source &#8211; all the source files<br />
* source/mojavi &#8211; the core Mojavi source<br />
* source/webapp &#8211; your web application<br />
* source/www &#8211; web accessible files<br />
* sql &#8211; sql sample files</p>
<p>Installation Steps:<br />
Moving the Mojavi Source</p>
<p>First, move the source/mojavi directory to a non web accessible location, preferrably the parent directory of your root web directory. On most installations this would be the parent directory of your public_html or www directory. On a Windows Apache, this would probably be the parent of the htdocs directory. Move the entire contents of the mojavi directory (including the mojavi folder)<br />
Setting up the webapp</p>
<p>Move the source/webapp directory to a non web accessible location, preferrably the parent directory of your root web directory, which should now have a mojavi directory. Next, give your webapp/cache directory full write permissions. In unix you can type &#8220;chmod 777 cache&#8221;. On Windows you must go through your webserver to give it write permissions.</p>
<p>You must configure your webapp/config.php configuration file.</p>
<p>There are two lines you need to change</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to the mojavi library. This directory         |<br />
// | contains all the Mojavi packages.                                         |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
define(&#8216;MO_APP_DIR&#8217;, &#8216;/mojavi&#8217;);</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to your web application directory. This is    |<br />
// | where modules are stored.                                                 |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
define(&#8216;MO_WEBAPP_DIR&#8217;, &#8216;/webapp&#8217;);</p>
<p>Replace DIRECTORY with the web directory. Under Linux, it may look like /home/username/. Under Windows (with Apache) it may look like c:/apache/</p>
<p>Here&#8217;s the final code</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to the mojavi library. This directory         |<br />
// | contains all the Mojavi packages.                                         |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
define(&#8216;MO_APP_DIR&#8217;, &#8216;/home/username/mojavi&#8217;);</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to your web application directory. This is    |<br />
// | where modules are stored.                                                 |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
define(&#8216;MO_WEBAPP_DIR&#8217;, &#8216;/home/username/webapp&#8217;);</p>
<p>Final Step</p>
<p>Move the index.php file in the source/www directory to your root web directory (the public_html, www or htdocs directory). This file must be accessible from the web. Any location that is accessible via the web will do.</p>
<p>Now you need to configure your web directory&#8217;s index.php file that you just moved.</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to our webapp/config.php script.              |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
require_once(&#8216;INSERT PATH TO &#8220;webapp/config.php&#8221; HERE&#8217;);</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to the mojavi/mojavi.php script.              |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
require_once(&#8216;INSERT PATH TO &#8220;mojavi/mojavi.php&#8221; HERE&#8217;);</p>
<p>The same directory rules apply here as with the config.php file. Here&#8217;s the results</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to our webapp/config.php script.              |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
require_once(&#8216;/home/username/webapp/config.php&#8217;);</p>
<p>// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
// | An absolute filesystem path to the mojavi/mojavi.php script.              |<br />
// +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
require_once(&#8216;/home/username/mojavi/mojavi.php&#8217;);</p>
<p>Success</p>
<p>You&#8217;re done. Try accessing your index.php file from the web.</p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/e96c063f-62d7-4ba7-8337-a1d9a9a68d26/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=e96c063f-62d7-4ba7-8337-a1d9a9a68d26" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related more-info pretty-attribution paragraph-reblog"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.mojavi.org/cms-software-to-maximize-your-customer-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

