2016-04-27 164 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默认文件夹访问