2015-03-19 70 views
0

我已經給了一個任務,將網站www.guilherminashoes.com克隆到另一個域名www.guilherminashoesna.com下的另一個主機。zend區域設置頁面找不到

一切工作正常,除非我點擊鏈接將頁面翻譯成英文。我找不到頁面。

在「ENG」點擊時被調用時的鏈接是:

http://guilherminashoesna.com/site.php/locale/index/lang/en/url/http%3A%2F%2Fguilherminashoesna.com%2Fsite.php%2F 

的site.php的代碼如下:

<?php 
ini_set('display_errors', 'on'); 

ini_set('error_reporting', E_ALL); 

try { 

    // Define path to application directory 
    defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/private/application')); 

    // Define application environment 
    defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'development')); 

    // Ensure library/ is on include_path 
    set_include_path(implode(PATH_SEPARATOR, array(realpath(APPLICATION_PATH . '/../library')))); 

    /** Zend_Application */ 
    require_once 'Zend/Application.php'; 

    // Create application, bootstrap, and run 
    $application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini'); 

    $application->bootstrap()->run(); 

} catch (Exception $e) { 
    die($e->getMessage()); 
} 

此功能工作完全正常的WWW .guilherminashoes.com,但不能在www.guilherminashoesna.com任何想法,我可能會錯過這裏?

回答

1

我已經無意中此解決自己....所有我必須做的就是把這個網址:

http://guilherminashoesna.com/site.php/locale/index/lang/en/url/ 

相反的:

http://guilherminashoesna.com/site.php/locale/index/lang/en/url/http%3A%2F%2Fguilherminashoesna.com%2Fsite.php%2F 
+0

驗證你的答案表明,這種反應是好:) – doydoy44 2015-03-19 08:33:19