Skip to content

Instantly share code, notes, and snippets.

@juanmanavarro
Created August 5, 2019 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanmanavarro/7758a1f2c065392257887cfd4c3fda70 to your computer and use it in GitHub Desktop.
Save juanmanavarro/7758a1f2c065392257887cfd4c3fda70 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Proto "^https$" HTTPS
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment