<IfModule mod_rewrite.c>
	Options +FollowSymLinks
	RewriteEngine on
 
	# Redirects direct controller views to the right URL
	# Not so much for security, done for Coda previews
	# RewriteRule modules/(.+)/controllers/(.+)\.php$ /index.php/$1/$2 [L,R=301]
	# RewriteRule controllers/(.+)\.php$ /index.php/$1 [L,R=301]
 
	# Send request via index.php (again, not if its a real file or folder)
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.*)$ index.php?/$1 [L]

</IfModule>

php_value error_reporting E_ALL
php_flag display_errors on