zend framework deployment in server
I have a server, where I have uploaded my work in zend framework(in a subdomain). the folder name is 'visit'.
So, When I go to: http://mysitename.com/visit, it shows a directory structure:
Parent Directory
application/
docs/
library/
nbproject/
public/
tests/
But when I go to: http://mysitename.com/visit/public, i get the index page of my project.
But I want to get my index page , when I type: http://mysitename.com/visit
can you please give me the correct htaccess it need?
Solution 1:
Also, these other approaches to deploying in shared hosting can help:
- Zend Framework on shared hosting
- http://www.alberton.info/zend_framework_mod_rewrite_shared_hosting.html
- http://akrabat.com/zend-framework/zend-framework-on-a-shared-host/
- http://www.ttech.it/en/article/2010/03/zend-framework-all-projects-files-on-document-root/
In particular, an answer by tharkun led me to write it up in more detail in a blog post.