How to set up .htaccess for Kohana correctly, so that there is no ugly “index.php/” in the URL?
snippet in htaccess

How to set up .htaccess for Kohana correctly, so that there is no ugly “index.php/” in the URL?

user443

RewriteEngine On

# 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]