DirectoryIndex index.php
Options -MultiViews -Indexes

<IfDefine APACHE2>
	AcceptPathInfo On
</IfDefine>

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /

	# If the requested URL does not exist (it's likely an agavi route),
	# pass it as path info to index.php, the Agavi dispatch script.
	RewriteRule ^$ index.php?/ [QSA,L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule (.*) index.php?/$1 [QSA,L]
</IfModule>

