Created
April 3, 2019 15:49
-
-
Save EdoardoVignati/c6087d0e1b66fd3b9f94d3456cda828d to your computer and use it in GitHub Desktop.
Fix trailing slash Apache redirect
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
# Add this into your VirtualHost config file | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteRule ^/$ / [R] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment