zend框架部署在服务器中 [英] zend framework deployment in server

查看:111
本文介绍了zend框架部署在服务器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个服务器,我已经在zend框架中(在子域中)上传了我的工作。文件夹名称是访问。



所以,当我去: http://mysitename.com/visit ,它显示一个目录结构:

 父目录
应用程序/
docs /
库/
nbproject /
public /
tests /

但是当我转到: http://mysitename.com /访问/公开,我得到我的项目的索引页。



但是,当我键入以下内容时,我想要获取索引页: http://mysitename.com/visit



你能给吗我需要正确的htaccess?

解决方案

此外,部署在共享托管中的其他方法可以帮助您:





特别地,由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:

In particular, an answer by tharkun led me to write it up in more detail in a blog post.

这篇关于zend框架部署在服务器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆