Blame view

.htaccess 567 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  AddDefaultCharset UTF-8
  
  # 
  <IfModule mod_autoindex.c>
    Options -Indexes
  </IfModule>
  
  #  
  <IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On
    RewriteRule ^(.*)$ web/$1 [L]
  </IfModule>
  
  #  is protect framed 
  <IfModule headers_module>
         Header set X-Content-Type-Options nosniff
         Header set X-Frame-Options SAMEORIGIN
  </IfModule>
  
  <FilesMatch "composer\.$">
      Deny from all
  </FilesMatch>
  
  <FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|git)$">
  	Order Allow,Deny
  	Deny from all
  </FilesMatch>