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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -