1 |
4af4d58c
|
Filip Jani
|
<IfModule mod_autoindex.c>
|
2 |
|
|
Options -Indexes
|
3 |
|
|
</IfModule>
|
4 |
|
|
|
5 |
|
|
<IfModule mod_rewrite.c>
|
6 |
|
|
RewriteEngine On
|
7 |
|
|
|
8 |
|
|
# old-nobtc
|
9 |
|
|
RewriteCond %{REQUEST_URI} ^/old-nobtc(.*)$
|
10 |
|
|
RewriteRule ^old-nobtc(.*)$ /old/html/$1
|
11 |
|
|
|
12 |
|
|
# obrázky pro old-nobtc
|
13 |
|
|
RewriteCond %{REQUEST_URI} ^/img(.*)$
|
14 |
|
|
RewriteRule ^img(.*)$ /old/html/img/$1
|
15 |
|
|
|
16 |
|
|
# nobtc
|
17 |
|
|
RewriteCond %{REQUEST_URI} ^/nobtc(.*)$
|
18 |
|
|
RewriteRule ^nobtc(.*)$ /old/html/nobtc/app/$1
|
19 |
|
|
|
20 |
|
|
# multidic
|
21 |
|
|
RewriteCond %{REQUEST_URI} ^/multidic(.*)$
|
22 |
|
|
RewriteRule ^multidic(.*)$ /old/html/multidic/app/$1
|
23 |
|
|
|
24 |
|
|
# utf
|
25 |
|
|
RewriteCond %{REQUEST_URI} ^/utf(.*)$
|
26 |
|
|
RewriteRule ^utf/(.*)$ /old/html/utf/$1
|
27 |
|
|
|
28 |
|
|
# zakázání přesměrování horních pravidel + přesměrování ze složky www/ na root
|
29 |
|
|
RewriteCond %{REQUEST_URI} !^/old(.*)$
|
30 |
|
|
RewriteCond %{REQUEST_URI} !^/old-nobtc(.*)$
|
31 |
|
|
RewriteCond %{REQUEST_URI} !^/img(.*)$
|
32 |
|
|
RewriteCond %{REQUEST_URI} !^/nobtc(.*)$
|
33 |
|
|
RewriteCond %{REQUEST_URI} !^/multidic(.*)$
|
34 |
|
|
RewriteCond %{REQUEST_URI} !^/utf(.*)$
|
35 |
|
|
RewriteRule ^(.*)$ /www/$1
|
36 |
|
|
|
37 |
|
|
</IfModule>
|