ZF Site in ZF Site? How do I redirect form subdirectory to another subdirecotry?
Posted
by AD
on Stack Overflow
See other posts from Stack Overflow
or by AD
Published on 2010-05-21T12:37:04Z
Indexed on
2010/05/21
12:40 UTC
Read the original article
Hit count: 163
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.
© Stack Overflow or respective owner