I uploaded the complete application on a hosted server and there it works
fine, so it has to be something in my server/virtual host setup....
etopian wrote:
>
> The class in the Admin's index controll is prefixed with the module name.
> I've attached my Bootstrap.php
>
>
> Pádraic Brady wrote:
>>
>> Any chance of posting your bootstrap? Also, if you're (sorry, were ;))
>> reading the tutorials ensure the Admin's index controller class is called
>> "Admin_IndexController".
>>
>> Paddy
>>
>>
>> etopian wrote:
>>>
>>> Pádraic,
>>>
>>> Thanks for replying! My application is actually built upon your
>>> tutorials (thanks for those!!!). Sorry to see you blog is offline right
>>> now...
>>>
>>> Anyway, in my .htaccess I have:
>>>
>>> RewriteEngine on
>>>
>>> RewriteCond %{REQUEST_FILENAME} !-f
>>> RewriteCond %{REQUEST_FILENAME} !-d
>>> RewriteRule .* index.php
>>>
>>> I did nothing with the routing and I'm using the Bootstrap.php as you
>>> described...
>>>
>>>
>>> Pádraic Brady wrote:
>>>>
>>>> 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!
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
> http://www.nabble.com/file/p17249885/Bootstrap.php Bootstrap.php
>
--
View this message in context:
http://www.nabble.com/Clearing-up-the-modular-setup-mist....-tp17248267p17253582.html
Sent from the Zend Framework mailing list archive at Nabble.com.