php - How to access an ZF2 application without “public” in URL -
i completed project on zf2, uploaded on shared hosting. folder zend app files inside, , in document root files public
folder visible, because want uris www.example.com
(not www.example.com/public/
).
what have done in cases zf1 app throw app directory in document root , server's .htaccess equivalent made not serve files there (deny all
). stick gateway script document root , update paths found in there including application_root
, path autoloader.
hope helps.
Comments
Post a Comment