OpenCart Inside Laravel无法访问

时间:2016-05-31 05:50:43

标签: php .htaccess laravel opencart

我想在laravel中运行opencart。我使用了artisan服务器并在公共目录中放置了opencart文件夹。现在,每当我尝试访问ocart / upload时,都会抛出错误。这就是我无法安装opencart的原因。

请帮帮我。 This is Htaccess file at root Directory

Error that i am getting

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|\.php|\.htaccess|robots\.txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(css|js|images|ocart)/(.*)$ public/$1 [L,NC]

0 个答案:

没有答案