views:

24

answers:

0

The deal is that I have a ZF site for which root directory is /public. How should I go about redirecting to a subdirectory if I want to do next?

I want to have another subdirectory under /public/ that would not be linked to a main website in any way except it using save ZF. Lets say I have this: /public/newsite/ which will include a complete modular ZF (just I have it for the main site). That is the root directory for the NEWSITE would be /public/newsite/public. So my question how do I modify my .htaccess rules so it would redirect any requests from /public/newsite/ to /public/newsite/public/?

Thank you in advance.