Merge branch 'maint/7.0'
[ninja.git] / example.htaccess
blob647d619a10ae5368e354b8354f8f926731aa02ad
1 # Turn on URL rewriting
2 RewriteEngine On
4 # Installation directory
5 RewriteBase /kohana/
7 # Protect application and system files from being viewed
8 RewriteRule ^(application|modules|system) - [F,L]
10 # Allow any files or directories that exist to be displayed directly
11 RewriteCond %{REQUEST_FILENAME} !-f
12 RewriteCond %{REQUEST_FILENAME} !-d
14 # Rewrite all other URLs to index.php/URL
15 RewriteRule .* index.php/$0 [PT,L]