Skip to content

Instantly share code, notes, and snippets.

@ursuleacv
Created July 18, 2013 19:50
Show Gist options
  • Save ursuleacv/6032463 to your computer and use it in GitHub Desktop.
Save ursuleacv/6032463 to your computer and use it in GitHub Desktop.
htaccess file for Laravel for redirecting to public folder
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ /public/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment