2009年3月30日星期一

Re: [fw-mvc] Virtual Directorys

Hi,

Not sure if i understood you but what your asking is handled using the Apache rewrite rules. You said the current behavior is exactly what you have expected. So what's the problem then? Maybe i am misunderstanding.

Vince.

On Mon, Mar 30, 2009 at 7:24 PM, Lionel Morrison <lionel@morrison101.com> wrote:
I have a website that has virtual directory support via a simple DB lookup. The solution is simple. It looks up the folder name if the physical folder does not exist. Much like what ZF does for it's controllers. I'm converting a site to ZF and I'm clueless on how to implement. If I try to access a folder that doesn't exist, ZF throws an error telling me the controller do not exist. Which is exactly what I expected.

Example link: http://www.website.com/8796589


Can anyone point me in the right direction.




--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.




没有评论: