php_value display_errors On php_value display_startup_errors On RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*[^/])$ /$1/ [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1/ [L] ExpiresActive On ExpiresDefault "access plus 10 minutes" ExpiresDefault "access plus 2 hours"