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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -