Last active
February 16, 2017 12:28
-
-
Save kikmedia/fadcd009dc2df049394d to your computer and use it in GitHub Desktop.
Make Contao handle all #404 errors
This file contains 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
ErrorDocument 404 /index.php | |
## Force SSL | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment