Zend App on host without mod_rewrite and no virtua

2019-03-01 12:21发布

I try to export my local developed app to a shared hoster environment. By doing this I figured out that either I could use mod_rewrite nor virutal hosts. Now my question is a) how do I have to change my app to deploy it and b) how do I do it in a secure way by c) letting the URL looking as nice as possible.

Please be more specific as here or provide an example like here.

Thank you!

Local set-up (with mod_rewrite and virtual host):

root
+-application
  +-configs
  +-controllers
  +-forms
  +-layouts
  +-models
  +-views
  +-Bootstrap.php
+-public
  +-css
  +-dl
  +-js
  +-img
  +-index.php
  +-.htaccess
+-library
  +-...

1条回答
走好不送
2楼-- · 2019-03-01 13:07

Rob Allen has an article as well about setup ZF with out mod_rewrite

http://akrabat.com/zend-framework/zend-framework-urls-without-mod_rewrite/

查看更多
登录 后发表回答