Using IIRF with Kohana

Topics: User Forum
Jan 27, 2009 at 7:35 AM
Can anyone please translate this example.htaccess file shipped by kohana? IIRF doesn't seem to understand some used constructs (RewriteBase, PR modifier, etc).

# Turn on URL rewriting
RewriteEngine On

# Installation directory
RewriteBase /kohana/

# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]