Alex9090

Untitled

Sep 13th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. RewriteCond %{REQUEST_FILENAME} !-d
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-l
  6.  
  7. RewriteRule ^(.+)$ index.php?$1 [QSA,L]
  8. Header set Access-Control-Allow-Origin "*"
  9. RewriteEngine On
  10. RewriteCond %{HTTPS} off
  11. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Advertisement
Add Comment
Please, Sign In to add comment