php - zend framework 2 project in server doesn't work -
working zf2, have configured project in local env, deployed same code server, there..only indexcontroller
action working. www.project.com/public/
works,
but when access other modules like
www.project.com/public/country doesn't work.
this means mod_rewrite rules rewrite requests index.php file not being used. means either:
- the
.htaccess
file not uploaded (check public folder on server see if it's there) - the
.htaccess
file being ignored (checkallowoverride
vhost on live server)
also, public/
should not appear in urls. unless using shared hosting (where can tricky), want point vhost's document root @ public folder.
Comments
Post a Comment