


<?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>Learn DooPHP &#187; folder structure</title>
	<atom:link href="http://learn.doophp.com/tag/folder-structure/feed/" rel="self" type="application/rss+xml" />
	<link>http://learn.doophp.com</link>
	<description>Learn DooPHP - a high performance MVC based PHP framework</description>
	<lastBuildDate>Thu, 18 Aug 2011 19:47:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Moving protected folder outside your Web Root</title>
		<link>http://learn.doophp.com/2009/10/moving-protected-folder-outside-your-web-root/</link>
		<comments>http://learn.doophp.com/2009/10/moving-protected-folder-outside-your-web-root/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 12:47:57 +0000</pubDate>
		<dc:creator>Leng</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[folder structure]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://learn.doophp.com/?p=126</guid>
		<description><![CDATA[<p>In the latest trunk of the framework, we are able to move the protected folder in an application outside your web server root directory. Let&#8217;s say you have a structure as below:</p>
<pre class="brush: php;">www/
    superapp/
        proctected/
            index.php
            global/</pre>
<p>To move it outside the WWW folder:</p>
<pre class="brush: php;">     superapp/
        proctected/

    www/
        superapp/
            index.php
            global/</pre>
<p>Just change the configs after you move your files, <strong>SITE_PATH</strong> setting</p>
<pre class="brush: php;">//original
C:/wamp/www/superapp/

//changes
C:/wamp/superapp/</pre>
<p>If you don&#8217;t wish to keep the name protected and wanted everything under <strong>superapp</strong>, try this:</p>
<pre class="brush: php;">    superapp/
        view/
        controller/
        .....
    www/
        superapp/
            index.php
            global/</pre>
<p>Add on a new setting to common.conf.php, <strong>PROTECTED_FOLDER</strong>:</p>
<pre class="brush: php;">
$config['PROTECTED_FOLDER'] = '';
</pre>
]]></description>
		<wfw:commentRss>http://learn.doophp.com/2009/10/moving-protected-folder-outside-your-web-root/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
