I'm building web site/application based on Zend Framework. For large number of pages I want to use Drupal. Drupal is presumably installed in /cms folder.
Zend Framework entry point is
/public/index.php
And for Drupal is
/public/cms/index.php
How can it be done with some .htaccess mod_rewrite rules to remove "/cms/" part for URL for Drupal, that is, I want link to page to be
www.example.com/blog/a-blog-post
instead of
www.example.com/cms/blog/a-blog-post
Also, I want my custom Routes from Zend Framework to work properly.
Subquestion: Who will serve 404 not-found page, Zend Framework app or Drupal ?