anybody know how to let laravel some route to another folder inside laravel public folder, current folder structure:
public
index.php <==== this is laravel index.php
.htaccess <==== this is laravel default .htaccess
subfolder <==== this is not laravel php code files
in my localhost, i can visit the subfolder with url http://ift.tt/2eLMhtb
but in my live site, http://ift.tt/1gosCeT throw me error of
NotFoundHttpException in RouteCollection.php line 161:
here is the laravel .htaccess files
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
both local/live server source code are sync, i guess this is some server settings issues but i dont know what is the keyword, appreciate for all the help
btw, laravel 5.2 version
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2eNdUFg
via IFTTT
Aucun commentaire:
Enregistrer un commentaire