Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4af4d58c

Přidáno uživatelem Filip Jani před téměř 6 roky(ů)

Re #7577 zprovoznění routování aplikace pro původní části

Zobrazit rozdíly:

.htaccess
1
<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>
docker/conf.d/apache/000-default.conf
9 9
	
10 10
	ServerName klinopis.local
11 11
	ServerAdmin fjani@students.zcu.cz 
12
	DocumentRoot /var/www/html/www
12
	DocumentRoot /var/www/html
13 13

  
14
	<Directory "/var/www/html/www">
14
	<Directory "/var/www/html">
15 15
	  Order allow,deny
16 16
	  Allow from all
17 17
	  AllowOverride All
docker/conf.d/apache/apache2.conf
57 57

  
58 58
ServerName klinopis.local
59 59
ServerAdmin fjani@students.zcu.cz
60
DocumentRoot "/var/www/html/www"
60
DocumentRoot "/var/www/html"
61 61

  
62 62
#
63 63
# ServerRoot: The top of the directory tree under which the server's
old/html/index.php
347 347
  <br>
348 348
  <span class=span01>
349 349
    The Old Babylonian Text Corpus (OBTC) comprises a large text database of the Old Babylonian Akkadian Language (currently <?php
350
  include_once('functions-help.php');
350
  include_once('inc/functions-help.php');
351 351
  echo get_count_lines();
352 352
  ?> text lines, letters, documents, legal texts, royal inscriptions, omina, mathematical texts etc.).
353 353
  </span>

Také k dispozici: Unified diff