When I am trying to access login page: http://localhost/my-app/auth/login (where AuthController/loginAction)
I got this Apache error log:
[time] [error] [client 127.0.0.1] File does not exist: C:/doc-root/my-app/auth, referer: http://localhost/my-app/

I have another PHP application not using ZF. It is working fine. So the web server is not a problem. Seems the problem is due to ZF MVC, which is not functional after the upgrade. It could not find the controller and do the action I requested. It is working fine with Apache 2.0 and I did not have any code change after the upgrade.


Isaak Malik wrote:
The Zend Framework should function with every (stable) Apache version, check your Apache logs to ensure that this problem is not related to your server.

--
Isaak Malik
Web Developer
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

On Thu, Mar 13, 2008 at 5:05 PM, Chuck Bai <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    All my action function names already begin with lower case character.
    This is the requirement of ZF MVC. The problem must be something else.
    More thoughts?

    Ramon de la Fuente wrote:
    > Hi Chuck,
    >
    > I have the same issue, although it has nothing to do with an Apache
    > upgrade. I found that my IndexController had an IndexAction()
    function
    > that up untill now worked fine, but since my last update of ZF could
    > not work unless I renamed it to indexAction()  - lower case i as the
    > first letter. Perhaps you could try that?
    >
    > Regards,
    >
    > Ramon de la Fuente
    >
    >
    >
    > Chuck Bai wrote:
    >> Hi,
    >>
    >> I have a App working fine with Apache 2.0/PHP 5.2.4/ZF 1.0.2.
    Now, I
    >> upgrade to Apache 2.2 with others remain the same (I changed PHP
    >> config to run with Apache 2.2). The app broke: the home page
    >> (http://localhost/my-app)showing
    <http://localhost/my-app%29showing> up correctly but all other pages
    >> getting 404 file not found error. Interestingly,
    >> http://localhost/my-app/index/index got the same error: HTTP
    404 Not
    >> Found.
    >>
    >> I checked httpd.conf settings, I have mod_rewrite module loaded. My
    >> .htaccess remain the same. Any idea where should I check next?
    Is ZF
    >> working with Apache 2.2?
    >



Reply via email to