title: Plone 4.1.4 Site Error: Resource not found
body: <p>A little stuck :(Thanks in advance</p>
  
  <p><strong>Expected Outcome:</strong> </p>
  
  <ul>
  <li>atitlanorganics.com should render my new plone site.</li>
  </ul>
  
  <p><strong>Actual Outcome:</strong> </p>
  
  <ul>
  <li>Site Error: Rource not found</li>
  </ul>
  
  <p><strong>Stack:</strong></p>
  
  <ul>
  <li>Ubuntu sqeeze/sid</li>
  <li>Apache 2.2.14</li>
  <li>Python 2.6.7 (r267:88850, Mar 12 2012, 20:57:20) [GCC 4.4.3]</li>
  <li>Plone 4.1.4 recently upgrade from 4.1.3</li>
  <li>CMF 2.2.5 Zope 2.13.12</li>
  <li>PIL 1.1.6</li>
  <li>PloneFormgen 1.7.0</li>
  <li>Products.Carousel 2.1</li>
  <li><a href="http://pastebin.com/YLBxiTLp" rel="nofollow">Buildout Here: http://pastebin.com/YLBxiTLp</a></li>
  </ul>
  
  <hr>
  
  <p><strong>Troubleshooting:</strong>
  Receiving website "Site Error: Resource not found" when i go to: atitlanorganics.com
  But works fine when i connect directly to plone: <a href="http://72.14.188.28:40000/AtitlanOrganics" rel="nofollow">http://72.14.188.28:40000/AtitlanOrganics</a></p>
  
  <p>When i try to connect directly to atitlanorganics.com I get this error in my browser::</p>
  
  <pre><code>&gt; &lt;h2&gt;Site Error&lt;/h2&gt; &lt;p&gt;An error was encountered while publishing this
  &gt; resource. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resource not found&lt;/strong&gt;&lt;/p&gt; Sorry, the
  &gt; requested resource does not exist.&lt;p&gt;Check the URL and try
  &gt; again.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Resource:&lt;/b&gt; atitlanorganics.com GET&lt;/p&gt; &lt;hr
  &gt; noshade="noshade"/&gt; &lt;p&gt;Troubleshooting Suggestions&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The
  &gt; URL may be incorrect.&lt;/li&gt; &lt;li&gt;The parameters passed to this resource
  &gt; may be incorrect.&lt;/li&gt; &lt;li&gt;A resource that this resource relies on may
  &gt; be encountering an error.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;For more detailed information
  &gt; about the error, please refer to the error log. &lt;/p&gt; &lt;p&gt;If the error
  &gt; persists please contact the site maintainer. Thank you for your
  &gt; patience. &lt;/p&gt;
  </code></pre>
  
  <p>Apache Access Log::</p>
  
  <pre><code>&gt; root@li54-28:/var/log/apache2# tail -n 0 -f access.log
  &gt; 
  &gt;     &gt; 190.148.214.174 - - [16/Mar/2012:21:54:10 -0600] "GET / HTTP/1.1" 404 792 "-" "Mozilla/5.0 (Windows NT 5.1; rv:11.0)
  &gt; Gecko/20100101
  &gt;     &gt; Firefox/11.0"
  &gt;     &gt; 190.148.214.174 - - [16/Mar/2012:21:54:12 -0600] "GET / HTTP/1.1" 404 791 "-" "Mozilla/5.0 (Windows NT 5.1; rv:11.0)
  &gt; Gecko/20100101
  &gt;     &gt; Firefox/11.0"
  &gt;     &gt; 190.148.214.174 - - [16/Mar/2012:21:54:13 -0600] "GET / HTTP/1.1" 404 791 "-" "Mozilla/5.0 (Windows NT 5.1; rv:11.0)
  &gt; Gecko/20100101
  &gt;     &gt; Firefox/11.0"
  </code></pre>
  
  <p>Apache Error Log::</p>
  
  <pre><code>&gt; root@li54-28:/var/log/apache2# tail -n 0 -f error.log
  &gt; ***No errors
  </code></pre>
  
  <p>Plone Console Log:: when directing browser to atitlanorganics.com</p>
  
  <pre><code>&gt; shadqudsi@li54-28:~/atitlanorganics.com$ bin/instance fg 2012-03-16
  &gt; 21:25:32 INFO ZServer HTTP server started at Fri Mar 16 21:25:32 2012
  &gt;         Hostname: 0.0.0.0
  &gt;         Port: 40000 2012-03-16 21:25:35 WARNING SecurityInfo Conflicting security declarations for "setText" 2012-03-16 21:25:35
  &gt; WARNING SecurityInfo Class "ATTopic" had conflicting security
  &gt; declarations
  &gt; /home/shadqudsi/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py:706:
  &gt; UserWarning: The set_schema option of the &lt;requ ire /&gt; directive is
  &gt; not supported in Zope 2. Ignored for &lt;class
  &gt; 'Products.Carousel.content.carouselbanner.CarouselBanner'&gt;   actions =
  &gt; self.handler(context, **args) 2012-03-16 21:25:52 INFO PloneFormGen
  &gt; Patching plone.app.portlets ColumnPortletManagerRenderer to not catch
  &gt; Retry exceptions 2012-03-16 21:25:53 INFO Zope Ready to handle
  &gt; requests
  &gt; ***Notice the requests show in the apaches access.log but never in apaches error.log or plones bin/plone fg output
  </code></pre>
  
  <p>Apache site-enabled config for atitlanorganics.com::</p>
  
  <pre><code>&gt; root@li54-28:/etc/apache2/sites-enabled# ll atitlanorganics.com
  &gt; lrwxrwxrwx 1 root root 38 2012-02-13 07:04 atitlanorganics.com -&gt;
  &gt; ../sites-available/atitlanorganics.com
  &gt; root@li54-28:/etc/apache2/sites-enabled#
  &gt; root@li54-28:/etc/apache2/sites-enabled# tail atitlanorganics.com
  &gt;     &lt;Proxy *&gt;
  &gt;         Allow from all
  &gt;     &lt;/Proxy&gt;  RewriteEngine On
  &gt;     RewriteRule ^(.*) http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
  &gt; [P,L]
  &gt;     ErrorDocument 503 "&lt;!DOCTYPE html&gt;&lt;head&gt;&lt;title&gt;Site down&lt;/title&gt;&lt;/head&gt;&lt;h1&gt;Our webmaster isnt very good. Get a rope!&lt;/h1&gt;"
  &gt; &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Plone Console Log:: when directing browser to http//72.14.188.28:40000/AtitlanOrganics</p>
  
  <pre><code>&gt; shadqudsi@li54-28:~/atitlanorganics.com$ bin/instance fg 2012-03-16
  &gt; 21:25:32 INFO ZServer HTTP server started at Fri Mar 16 21:25:32 2012
  &gt;         Hostname: 0.0.0.0
  &gt;         Port: 40000 2012-03-16 21:25:35 WARNING SecurityInfo Conflicting security declarations for "setText" 2012-03-16 21:25:35
  &gt; WARNING SecurityInfo Class "ATTopic" had conflicting security
  &gt; declarations
  &gt; /home/shadqudsi/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py:706:
  &gt; UserWarning: The set_schema option of the &lt;requ  ire /&gt; directive is
  &gt; not supported in Zope 2. Ignored for &lt;class
  &gt; 'Products.Carousel.content.carouselbanner.CarouselBanner'&gt;   actions =
  &gt; self.handler(context, **args) 2012-03-16 21:25:52 INFO PloneFormGen
  &gt; Patching plone.app.portlets ColumnPortletManagerRenderer to not catch
  &gt; Retry exceptions 2012-03-16 21:25:53 INFO Zope Ready to handle
  &gt; requests 2012-03-16 22:18:04 INFO CMFFormController
  &gt; /home/shadqudsi/buildout-cache/eggs/Products.PloneFormGen-1.7.0-py2.6.egg/Products/PloneFormGen/skins/PloneFormfg_base_view_p3.cpt:
  &gt; No default action specified for status success, content type ANY. 
  &gt; Users of IE can submit pages using the return key, resulting in noton
  &gt; in the REQUEST.  Please specify a default action for this case.
  &gt; 
  &gt; 2012-03-16 22:18:04 INFO CMFFormController
  &gt; /home/shadqudsi/buildout-cache/eggs/Products.PloneFormGen-1.7.0-py2.6.egg/Products/PloneFormGen/skins/PloneFormfg_base_view_p3.cpt:
  &gt; No default action specified for status success, content type ANY. 
  &gt; Users of IE can submit pages using the return key, resulting in noton
  &gt; in the REQUEST.  Please specify a default action for this case.
  </code></pre>
  
  <p>I diffed my apache sites-enabled atitlanorganics.com config with a know good config of jaibalito.org. The only differences are the directory/domain/port references.</p>
  
  <pre><code>&gt; root@li54-28:/etc/apache2/sites-available# diff atitlanorganics.com
  &gt; jaibalito.org
  &gt; 
  &gt; &gt; 2,4c2,4 &lt;       ServerAdmin webmaster@atitlanorganics.com &lt;        
  &gt; &gt; ServerName atitlanorganics.com &lt;         ServerAlias
  &gt; &gt; www.atitlanorganics.com
  &gt; &gt; ---
  &gt; &gt; &gt;       ServerAdmin webmaster@jaibalito.org
  &gt; &gt; &gt;         ServerName jaibalito.org
  &gt; &gt; &gt;         ServerAlias www.jaibalito.org 6c6 &lt;       DocumentRoot /home/shadqudsi/atitlanorganics.com/www
  &gt; &gt; ---
  &gt; &gt; &gt;       DocumentRoot /home/naderehnilforoushan/jaibalito.org/www 11c11 &lt;       &lt;Directory /home/shadqudsi/atitlanorganics.com/www/&gt;
  &gt; &gt; ---
  &gt; &gt; &gt;       &lt;Directory /home/naderehnilforoushan/jaibalito.org/www/&gt; 48c48 &lt;     RewriteRule ^(.*)
  &gt; &gt; http://127.0.0.1:40000/VirtualHostBase/http/%{HTTP_HOST}:80/atitlanorganics.com/VirtualHostRoot/$1
  &gt; &gt; [P,L]
  &gt; &gt; ---
  &gt; &gt; &gt;     RewriteRule ^(.*) http://127.0.0.1:29000/VirtualHostBase/http/%{HTTP_HOST}:80/jaibalito.org/VirtualHostRoot/$1
  &gt; &gt; [P,L] 50c50 &lt;     ErrorDocument 503 "&lt;!DOCTYPE html&gt;&lt;head&gt;&lt;title&gt;Site
  &gt; &gt; down&lt;/title&gt;&lt;/head&gt;&lt;h1&gt;Our webmaster isnt very good. Get a rope!&lt;/h1&gt;"
  &gt; &gt; ---
  &gt; &gt; &gt;     ErrorDocument 503 "&lt;!DOCTYPE html&gt;&lt;head&gt;&lt;title&gt;Jaibalito.org Under Repair&lt;/title&gt;&lt;/head&gt;&lt;h1&gt;Jaibalito.org under going site
  &gt; &gt; maintenance: &lt;/h1&gt;"
  </code></pre>