« Return to Thread: Clearing up the modular setup mist....

Re: Clearing up the modular setup mist....

by Pádraic Brady :: Rate this Message:

Reply to Author | View in Thread

What's in your .htaccess file?

If rewriting is working correctly, and the front controller configured, and you haven't changed routing - it should work without a hitch.

Paddy

etopian wrote:
Hi,

I'm trying to build a multiple module application using Zend Framework. Ik Have followed the conventional directory structure and have the following structure:

application
    controllers
    models
    views
    admin
        controllers
        views

public

Within the structure I have more directories, but I don't think they are relevant for the question.


When I browse to the virtual host (http://eCMS.local) I set up, I get the default page that is loaded through the IndexController and the index.phtml. But when I browse to the admin module (http://eCMS.local/admin), I get a 404 error.

I have tried to move all modules into a modules directory and use the addModuleDirectory() on my frontcontroller, no luck.

I tried changing settings in httpd.conf without any result.

So I would like to know if anyone can tell me how to solve this issue, so I can continue my quest on creating a multiple module application using Zend Framework.

Thanks!
Pádraic Brady

http://blog.astrumfutura.com
http://www.patternsforphp.com
OpenID Europe Foundation - Irish Representative

 « Return to Thread: Clearing up the modular setup mist....

LightInTheBox - Buy quality products at wholesale price