2016-04-27 94 views
0

臨時站點是: http://173.254.74.167/eccaorgn/homeLaravel 4.2航線404未找到文件錯誤 - htaccess的錯誤

這是行不通的。但是,當我加http://173.254.74.167/eccaorgn/index.php/home,它的工作。 所以我想刪除這個index.php。 礦山htaccess的代碼是:

<IfModule mod_rewrite.c> 
    <IfModule mod_negotiation.c> 
     Options -MultiViews 
    </IfModule> 

    RewriteEngine On 
    # Redirect Trailing Slashes... 
    RewriteRule ^(.*)/$ http://173.254.74.167/~eccaorgn/$1 [L,R=301] 

    # Handle Front Controller... 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteRule^index.php [L] 
AddHandler application/x-httpd-php56 .php .php5 .php4 .php3 
</IfModule> 

所以告訴我你們怎麼在這種情況下,我都是我最好的嘗試做..但沒有得到任何適當的解決辦法。

+0

感謝球員我得到了我的答案.. –

回答

0

我解決了我的問題,給644默認文件夾訪問