Last active
December 17, 2017 09:20
-
-
Save dsdsdsdsdsds/5d218923fa84a02f90ea6f3a8f888916 to your computer and use it in GitHub Desktop.
Rewrite domain.com/dist/ to domain.com
This file contains hidden or 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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC,OR] | |
RewriteCond %{REQUEST_URI} !dist/ | |
RewriteRule (.*) /dist/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment