Last active
October 28, 2016 17:47
-
-
Save wpupru/42db4cda4cfced632fda384d4ef31dec to your computer and use it in GitHub Desktop.
HTaccess for laravel local
HTaccess for laravel local
HTaccess for laravel local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTaccess for laravel local | |
HTaccess for laravel local | |
#Включаем перенаправление сервера Апач | |
RewriteEngine On | |
#Включаем правило - Если пользователь обратился не к каталогу public, то будет перенаправлен туда | |
RewriteCond %{REQUEST_URI} !^public | |
RewriteRule ^(.*)$ http://localhost/lara***.loc/public/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment