Blame view

.htaccess 928 Bytes
abf1649b   andryeyev   Чистая установка ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
      AddDefaultCharset utf-8
  
      Options -Indexes +FollowSymlinks -MultiViews
      DirectoryIndex index.php
  
      AddHandler server-parsed .html
      AddOutputFilter INCLUDES .html 
  
      SetEnv TZ Europe/Kiev
  
      RewriteEngine On
  
  <IfModule mod_rewrite.c>
  
      RewriteEngine On
  
      #  main rewrite rule for the frontend application
      RewriteCond %{REQUEST_URI} !^/(backend/web|admin)
      RewriteRule !^frontend/web /frontend/web%{REQUEST_URI} [L]
b427543e   andryeyev   Итерация 2 (рекур...
20
    
abf1649b   andryeyev   Чистая установка ...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
      RewriteCond %{REQUEST_URI} ^/frontend/web
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /frontend/web/index.php [L]
   
      RewriteCond %{REQUEST_URI} ^/backend/web
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /backend/web/index.php [L]
  
      RewriteCond %{REQUEST_URI} \.(htaccess|htpasswd|svn|git)
      RewriteRule \.(htaccess|htpasswd|svn|git) - [F]
      
  </IfModule>