Added empty classes/model, config, i18n, messages, and views directories
[kohana.git] / example.htaccess
blob87b9cf8177f7f129190c4593c9ee087d9e433e22
1 # Turn on URL rewriting
2 RewriteEngine On
4 # Installation directory
5 RewriteBase /kohana/
7 # Protect hidden files from being viewed
8 <Files .*>
9         Order Deny,Allow
10         Deny From All
11 </Files>
13 # Protect application and system files from being viewed
14 RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
16 # Allow any files or directories that exist to be displayed directly
17 RewriteCond %{REQUEST_FILENAME} !-f
18 RewriteCond %{REQUEST_FILENAME} !-d
20 # Rewrite all other URLs to index.php/URL
21 RewriteRule .* index.php/$0 [PT]