Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #Options +FollowSymLinks -Indexes
  2.  
  3. RewriteEngine On
  4.  
  5. #RewriteCond %{HTTPS} off
  6. #RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  7.  
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10.  
  11. RewriteRule ^(.+)$ index.php?page=$1 [QSA,L]
  12.  
  13. <filesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh)$">
  14. Order Allow,Deny
  15. Deny from all
  16. </filesMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement