The goal is to set up a Zend application on the same domain as a static website efficiently. Currently the following is true but slow:
- www.website.com/ redirects to www.website.com/corp/index.html
- /admin, /login, /session resolved to /index.php where the zend application resides
I have set up redirects to www.website.com/corp/index.html in my bootstrap file, but no matter what page I visit this redirect has to occur when appropriate. It is slowing down the entire static site. Here is my virtual host httpd.conf entry which is redirecting everything to /index.php but I want to place an exception that allows access to /corp without the redirects once you are in that directory. Other simple and effective solutions are certainly welcome as well.
<VirtualHost *:18887>
DocumentRoot c:\pathtoapp\public
ServerName website.com
SetEnv APPLICATION_ENV "local"
<Directory c:\pathtoapp\public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>