我如何设置CakePHP的对BlueHost的正常工作?我应该把我的应用程序,蛋糕和供应商的文件夹以及.htaccess和的index.php文件在/的public_html /目录?我跟着指示这里... HTTP://book.cakephp .ORG /浏览/ 37 / Apache的和mod_rewrite的,和htaccess的无济于事。我看到,当我键入名称到我的网站是一个空白页!
How do I set up Cakephp to work properly on Bluehost? Should I place my app, cake and vendor folders as well as .htaccess and index.php files in the /public_html/ directory? I followed the instructions here... book.cakephp/view/37/Apache-and-mod_rewrite-and-htaccess to no avail. All I see when I type the name to my website is a blank page!
推荐答案这我也跟着成立一切的方法,可以在此网站上发现...的 www.ad7six/MiBlog/ProductionSetup
The method that I followed to set up everything can be found at this site... www.ad7six/MiBlog/ProductionSetup
- / cake_install
- / cake_install /应用程序
- / cake_install /蛋糕
- / cake_install /供应商
- /public_html/.htaccess
- /public_html/index.php
/的public_html将原本在app / webroot的发现等信息但那是在链接上面的解释
/public_html will have other information originally found in app/webroot but that's explained in the link above
if (!defined('ROOT')) { //define('ROOT', dirname(dirname(dirname(__FILE__)))); define('ROOT',DS.'cake_install'); } if (!defined('APP_DIR')) { //define('APP_DIR', basename(dirname(dirname(__FILE__)))); define('APP_DIR',DS.'app'); } if (!defined('CAKE_CORE_INCLUDE_PATH')) { //define('CAKE_CORE_INCLUDE_PATH', ROOT); define('CAKE_CORE_INCLUDE_PATH',DS.'cake_install'); }更多推荐
CakePHP的安装上BlueHost的
发布评论