<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Zend Framework Quickstart Tutorial: Deploy to a subdirectory instead of web root</title>
	<atom:link href="http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/</link>
	<description>A Programmer in Sydney, Australia</description>
	<lastBuildDate>Wed, 04 Jan 2012 10:43:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Alexey</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1483</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Fri, 23 Dec 2011 14:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1483</guid>
		<description>HI John,
 Many thanx to you.
Your htaccess configuration worked for me!</description>
		<content:encoded><![CDATA[<p>HI John,<br />
 Many thanx to you.<br />
Your htaccess configuration worked for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1291</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 14 Oct 2009 14:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1291</guid>
		<description>Hi John,

Why not use a vhost as recommended in the documentation?

Simon</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Why not use a vhost as recommended in the documentation?</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Captam</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1283</link>
		<dc:creator>Captam</dc:creator>
		<pubDate>Sat, 30 May 2009 15:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1283</guid>
		<description>Thank you John,

Like others - I had the same problem in Zend QuickStart tutorial. Last .htaccess line in Your example didn&#039;t help, but it gave me idea to write it:

RewriteRule ^.*$ /ZendTest/index.php [NC,L]

And it worked, now I&#039;m back on my way.
Many thanks!

P.S. I&#039;d like Zend tutorial would have the same &quot;Comments on this page&quot; idea, as PHP Manual have ;-)</description>
		<content:encoded><![CDATA[<p>Thank you John,</p>
<p>Like others &#8211; I had the same problem in Zend QuickStart tutorial. Last .htaccess line in Your example didn&#8217;t help, but it gave me idea to write it:</p>
<p>RewriteRule ^.*$ /ZendTest/index.php [NC,L]</p>
<p>And it worked, now I&#8217;m back on my way.<br />
Many thanks!</p>
<p>P.S. I&#8217;d like Zend tutorial would have the same &#8220;Comments on this page&#8221; idea, as PHP Manual have <img src='http://johnmee.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Psteve</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1282</link>
		<dc:creator>Psteve</dc:creator>
		<pubDate>Wed, 20 May 2009 21:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1282</guid>
		<description>For ZF 1.8, it doesn&#039;t appear as if this is necessary at all. I was having trouble getting rewriting to work right &amp; thought this was the solution, but it was my AllowOverride in apache2.conf in Ubuntu. I just reverted to the .htaccess created by the zf create project command, and it seems to work fine.</description>
		<content:encoded><![CDATA[<p>For ZF 1.8, it doesn&#8217;t appear as if this is necessary at all. I was having trouble getting rewriting to work right &amp; thought this was the solution, but it was my AllowOverride in apache2.conf in Ubuntu. I just reverted to the .htaccess created by the zf create project command, and it seems to work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GJ</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1281</link>
		<dc:creator>GJ</dc:creator>
		<pubDate>Tue, 12 May 2009 18:20:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1281</guid>
		<description>Been trying to setup in a sub-dir but not by putting the entire project in the sub-directory, just the contents of the public folder i.e. moving the public folder out of the application and into a sub-directory of the web root so that the application code itself is not web accessible.  Was able to get the default index page working by modifying the application path to point to the application location, but any other controller would not work cause it was assuming the subdir was the controller.  The rewrite rule (last line) was all I needed to change,to get it to work.  
Thanks!!!</description>
		<content:encoded><![CDATA[<p>Been trying to setup in a sub-dir but not by putting the entire project in the sub-directory, just the contents of the public folder i.e. moving the public folder out of the application and into a sub-directory of the web root so that the application code itself is not web accessible.  Was able to get the default index page working by modifying the application path to point to the application location, but any other controller would not work cause it was assuming the subdir was the controller.  The rewrite rule (last line) was all I needed to change,to get it to work.<br />
Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jojo</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1277</link>
		<dc:creator>Jojo</dc:creator>
		<pubDate>Mon, 30 Mar 2009 01:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1277</guid>
		<description>Thanks John, it seems I should have had my .htaccess in the web root and not in the /subdir and obviously be redirecting with:

RewriteRule ^.*$ /subdir/index.php [NC,L]

Now all of my existing (non framework) content can remain in web root and I can now run Zend framework via the subdir whilst keeping all the framework file above web root. So it is true, the framework is flexible to individual needs.

Many thanks</description>
		<content:encoded><![CDATA[<p>Thanks John, it seems I should have had my .htaccess in the web root and not in the /subdir and obviously be redirecting with:</p>
<p>RewriteRule ^.*$ /subdir/index.php [NC,L]</p>
<p>Now all of my existing (non framework) content can remain in web root and I can now run Zend framework via the subdir whilst keeping all the framework file above web root. So it is true, the framework is flexible to individual needs.</p>
<p>Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1275</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 28 Mar 2009 01:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1275</guid>
		<description>Jojo: 

1. The browser will call for the subdirectory:
eg: http://example.com/subdir/

2. Take another look at the last line of your .htaccess file.  Are you redirecting everything to the index.php in the subdirectory? or sending everything back to the index.php in the root directory?
</description>
		<content:encoded><![CDATA[<p>Jojo: </p>
<p>1. The browser will call for the subdirectory:<br />
eg: <a href="http://example.com/subdir/" rel="nofollow">http://example.com/subdir/</a></p>
<p>2. Take another look at the last line of your .htaccess file.  Are you redirecting everything to the index.php in the subdirectory? or sending everything back to the index.php in the root directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jojo</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1274</link>
		<dc:creator>Jojo</dc:creator>
		<pubDate>Fri, 27 Mar 2009 04:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1274</guid>
		<description>I have been trying unsuccessfully to deploy the framework above the web root but run index.php from a subdirectory:

eg. web root = &quot;/var/www/&quot; and  &quot;/var/www/subdir/index.php&quot;.

The controllers just don&#039;t run and I get 404s

My .htaccess looks like to original and is in the subdirectory:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]</description>
		<content:encoded><![CDATA[<p>I have been trying unsuccessfully to deploy the framework above the web root but run index.php from a subdirectory:</p>
<p>eg. web root = &#8220;/var/www/&#8221; and  &#8220;/var/www/subdir/index.php&#8221;.</p>
<p>The controllers just don&#8217;t run and I get 404s</p>
<p>My .htaccess looks like to original and is in the subdirectory:<br />
RewriteEngine On<br />
RewriteCond %{REQUEST_FILENAME} -s [OR]<br />
RewriteCond %{REQUEST_FILENAME} -l [OR]<br />
RewriteCond %{REQUEST_FILENAME} -d<br />
RewriteRule ^.*$ &#8211; [NC,L]<br />
RewriteRule ^.*$ /index.php [NC,L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1268</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Fri, 13 Mar 2009 12:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1268</guid>
		<description>Holy crap you have no idea how helpful this post was!

I spent a good 5 or 6 hours trying to get my Zend app running on a shared host, and everything I did kept trying to use &quot;{appname}/public/index.php/&quot; as the base url.

Changing the final line of the .htaccess file from &quot;/index.php&quot; to &quot;{appname}/public/index.php&quot; made everything work, thanks!</description>
		<content:encoded><![CDATA[<p>Holy crap you have no idea how helpful this post was!</p>
<p>I spent a good 5 or 6 hours trying to get my Zend app running on a shared host, and everything I did kept trying to use &#8220;{appname}/public/index.php/&#8221; as the base url.</p>
<p>Changing the final line of the .htaccess file from &#8220;/index.php&#8221; to &#8220;{appname}/public/index.php&#8221; made everything work, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sree</title>
		<link>http://johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/comment-page-1/#comment-1196</link>
		<dc:creator>Sree</dc:creator>
		<pubDate>Tue, 03 Mar 2009 11:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johnmee.com/?p=150#comment-1196</guid>
		<description>Thank you John
I was trying to create a sample project on ZF by referring the quick start and was about to give up due to the errors. Your article helped a lot and the project is done.</description>
		<content:encoded><![CDATA[<p>Thank you John<br />
I was trying to create a sample project on ZF by referring the quick start and was about to give up due to the errors. Your article helped a lot and the project is done.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

