Options -Indexes

DirectoryIndex public/index.php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /easychair/

# Serve real files/folders from public, such as assets, uploads, css, js, images
RewriteCond %{DOCUMENT_ROOT}/easychair/public/$1 -f [OR]
RewriteCond %{DOCUMENT_ROOT}/easychair/public/$1 -d
RewriteRule ^(.+)$ public/$1 [L]

# Send homepage to front controller
RewriteRule ^$ public/index.php [L]

# Send all MVC routes to front controller
RewriteRule ^(.+)$ public/index.php [L,QSA]
</IfModule>
