zend框架部署在服务器中 [英] zend framework deployment in server
问题描述
所以,当我去: http://mysitename.com/visit ,它显示一个目录结构:
父目录
应用程序/
docs /
库/
nbproject /
public /
tests /
但是当我转到: http://mysitename.com /访问/公开,我得到我的项目的索引页。
但是,当我键入以下内容时,我想要获取索引页: http://mysitename.com/visit
你能给吗我需要正确的htaccess?
此外,部署在共享托管中的其他方法可以帮助您:
- Zend共享托管框架
- http:// www .alberton.info / zend_framework_mod_rewrite_shared_hosting.html
- http://akrabat.com/zend-framework/zend-framework-on-a-shared-host/
- < a href =http://www.ttech.it/en/article/2010/03/zend-framework-all-projects-files-on-document-root/ =nofollow noreferrer> http:// www.ttech.it/en/article/2010/03/zend-framework-all-projects-files-on-document-root/
特别地,由tharkun回答导致我在博客文章中更详细地写下来。
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?
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.
这篇关于zend框架部署在服务器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!