AddDefaultCharset utf8
php_value memory_limit 150M
php_value upload_max_filesize 20M
php_value post_max_size 20M
#php_value max_input_time 300
php_value max_execution_time 300
php_value max_file_uploads 20
php_flag display_errors on
php_flag display_startup_errors on
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
RewriteRule ^(.*)/$ /$1 [L,R=301]