Skip to content

Instantly share code, notes, and snippets.

@wpupru
Last active October 28, 2016 17:47
Show Gist options
  • Save wpupru/42db4cda4cfced632fda384d4ef31dec to your computer and use it in GitHub Desktop.
Save wpupru/42db4cda4cfced632fda384d4ef31dec to your computer and use it in GitHub Desktop.
HTaccess for laravel local HTaccess for laravel local HTaccess for laravel local
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