Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 67

Přidáno uživatelem Tomáš Dulík před více než 16 roky(ů)

.htaccess odstranen z verzovani, protoze jej mame kazdy jinak. Prejmenoval jsem ho na htaccess.dist - vzorovy .htaccess

Zobrazit rozdíly:

freenetis/trunk/kohana/.htaccess
RewriteEngine On
RewriteBase /kohana/
# Protect application and system files from being viewed
#RewriteCond $1 ^(application|system)
# Rewrite to index.php/access_denied/URL
#RewriteRule ^(.*)$ access_denied/$1 [PT,L]
# pravidla pro ktere se to nebude prepisovat...kdyztak doplnit dalsi adresare
RewriteCond $1 ^(index\.php|robots\.txt|favicon\.ico|media)
# No rewriting
RewriteRule ^(.*)$ - [PT,L]
# Force EVERY URL to contain a language in its first segment.
# Redirect URLs without a language to the invalid xx language.
RewriteCond $2 !^([a-z]{2}(/|$)) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(index\.php/?)?(.*)$ en/$2 [R=301,L]
# Silently prepend index.php to EVERY URL.
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1 [L]
freenetis/trunk/kohana/.htaccess.dist
RewriteEngine On
RewriteBase /kohana/
# Protect application and system files from being viewed
#RewriteCond $1 ^(application|system)
# Rewrite to index.php/access_denied/URL
#RewriteRule ^(.*)$ access_denied/$1 [PT,L]
# pravidla pro ktere se to nebude prepisovat...kdyztak doplnit dalsi adresare
RewriteCond $1 ^(index\.php|robots\.txt|favicon\.ico|media)
# No rewriting
RewriteRule ^(.*)$ - [PT,L]
# Force EVERY URL to contain a language in its first segment.
# Redirect URLs without a language to the invalid xx language.
RewriteCond $2 !^([a-z]{2}(/|$)) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(index\.php/?)?(.*)$ en/$2 [R=301,L]
# Silently prepend index.php to EVERY URL.
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1 [L]

Také k dispozici: Unified diff