Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7874291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:46:13+00:00 2026-06-03T02:46:13+00:00

I have a Zend Framework application I’ve been working on my local machine, I’ve

  • 0

I have a Zend Framework application I’ve been working on my local machine, I’ve deploying it to a server but having .htaccess issues because some but not all routes fail with a “Page Not Found“. Very weird that I can’t access some controllers.

My .htaccess is:

RewriteBase /~user/path/to/app/public/

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

This error does not occur on the local machine, only on the server. The only thing I can see that is common to the controllers that have a “Page Not Found” error on the server is that the Controller names are camel case.

Controllers that work: CustomerController, InvoiceController, StockController. Controllers that fail: SuppliersStockController, StockTypesController.

If I try to do something like ‘www.route/to/app/stock-types/’ or ‘/stock.types/’ I get an “Application Error“.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:46:16+00:00Added an answer on June 3, 2026 at 2:46 am

    You are seeing the effect of a case sensitive file system.

    When you go to /stocktypes/index, ZF will look for StocktypesController.php and succeed on case insensitive systems like Mac OS X and Windows. On Linux however, it will fail.

    If you go to /stock-types/index, then ZF will look for StockTypesController.php and will find it on Linux.

    If ZF finds a CamelCased controller name, then it will look for a view folder with a hyphen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on a new installation of a Zend Framework application for
I have inherited an application written with Zend Framework 1.11.2. It has been ported
I have a problem with setting up my Zend Framework application on live server.
I am working on a Zend Framework application with PHP. I have a form
i have been using a modular structure for my zend framework application. This is
For the past time I have been working on a Zend Framework based webshop
I have a Zend Framework application with a .htaccess file in the root directory,
I have a server which consists of several Zend Framework application. I want to
I have been building a dynamic form in my Zend Framework application using Jquery
I have been using Zend Framework for a while now. I am having an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.