Now I am using zf v.1.10. For deployment, I must upload my project to some subdirectory on the hosting that is shared. When the domain is world wide, so my project's address is going to be world wide Within the myproject directory, i put htaccess file such as this :

RewriteEngine on

RewriteRule ^(.*)$ /myproject/public/$1

RewriteCond % -f

RewriteRule ^.*$ - [NC,L]

RewriteRule ^public/.*$ /myproject/public/index.php [NC,L]

as well as in the general public directory, i put htaccess file such as this:

RewriteEngine On

RewriteCond % -s [OR]

RewriteCond % -l [OR]

RewriteCond % -d

RewriteRule ^.*$ - [NC,L]

RewriteRule ^.*$ index.php [NC,L]

here is my application.ini :


phpSettings.display_startup_errors = 1

phpSettings.display_errors = 1

includePaths.library = APPLICATION_PATH "/../library"

bootstrap.path = APPLICATION_PATH "/Bootstrap.php"

bootstrap.class = "Bootstrap"

appnamespace = "Application"

assets.frontController.controllerDirectory = APPLICATION_PATH "/remotes"

assets.frontController.params.displayExceptions = 1

assets.frontController.baseUrl = "/myproject"

assets.layout.layoutPath = APPLICATION_PATH "/designs/scripts"

assets.view.doctype = "XHTML1_TRANSITIONAL" = "Cal_" = "Box_" = "Report_"

assets.db.adapter = PDO_MYSQL = localhost

assets.db.params.username = uname

assets.db.params.password = p4ssw0rd

assets.db.params.dbname = myprojct

i've implemented zend_auth and zend_acl during my project, so page one displays login form.
The issue is after i performed the shape login, there is no respon.
The login form is going to be forwarded to (action is placed to) "authentication" controller and "loginauth" action.
I've attempted to echo something in loginauth "action", however it still displayed login form.
Whereas On my small local computer (home windows) things are running well.
Please produce advice.. thanks

Presuming you utilize Zend_Form:

You most likely will need to "tell" Zend_Form to apply your controller baseUrl. Attempt to Sub-Class Zend_Form and override the setAction() method.

Alternatively you should use the setAction() mutator out of your form instance.