vakarj

Untitled

Jun 30th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. Options +FollowSymlinks
  2. Options -Indexes
  3.  
  4. <FilesMatch "\.(tpl|ini|log)">
  5. Order deny,allow
  6. Deny from all
  7. </FilesMatch>
  8.  
  9. RewriteEngine On
  10. #if the site is located in a subfolder, you need to specify it like: RewriteBase /subfoldersname
  11.  
  12. RewriteBase /
  13. RewriteCond %{REQUEST_FILENAME} !-f
  14. RewriteCond %{REQUEST_FILENAME} !-d
  15. RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
  16. RewriteRule ^([^?]*) index.php?_action=$1 [L,QSA]
Add Comment
Please, Sign In to add comment