Created
December 5, 2019 15:36
-
-
Save Matteo182/4b37002baa411772741b893b4ecbbf7d to your computer and use it in GitHub Desktop.
REDIRECT PER LA CARTELLA /web di BEDROCK
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
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# REDIRECT PER LA CARTELLA /web di BEDROCK # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# Add directives | |
RewriteEngine on | |
# Change root directory to “web” folder | |
RewriteCond %{THE_REQUEST} ^GET\ /web/ | |
RewriteRule ^web/(.*) /$1 [L,R=301] | |
RewriteRule !^web/ web%{REQUEST_URI} [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment