私はzendFrameworkに取り組んでおり、すでにzend Frameworkを使用してWebサイトを作成していますが、プロジェクトをリモートサーバーで実行したいと考えています。しかし、すべてのプロジェクトデータをリモートサーバーに転送すると、機能しません。
私のzendフレームワークはローカルホストでうまくプロジェクトします。
のマニュアルも読んだGetting Started with Zend Framework By Rob Allen, www.akrabat.com.
それで、このマニュアルを読んだ後、私はこの重要な記事を見つけました。
You must also ensure that Apache is configured to support .htaccess files. This is usually done by
changing the setting:
! AllowOverride None
to
! AllowOverride All
in your httpd.conf file. Check with your distribution’s documentation for exact details. You will not be able
to navigate to any page other than the home page in this tutorial if you have not configured mod_rewrite
and .htaccess usage correctly.
しかし、実際には共有リモートサーバーを使用しているので、どこから変更するかapache config
、またmod_rewrite
。
注:-このドキュメントを読んだ後にいくつかの変更を加えたため、私のプロジェクトはローカルホストで動作します。
どんな助けでも大歓迎です。