Zend Framework on a shared host
When you deploy a Zend Framework website to a shared host, you usually cannot change the DocumentRoot to point at the public/ folder of the website. As a result the URL to the website is now http://www.example.com/public/. This doesn't look very professional, so we'd like to remove it. The easiest way, given a ZF project created using Zend_Tool is this: Create /index.php < ?php define('RUNNING_FROM_ROOT', true); include 'public/index.php'; This uses the index.php already created by… continue reading.