# OVH fix bug
SetEnv REGISTER_GLOBALS 0
SetEnv SESSION_USE_TRANS_SID 0
#Hidden file whitout index.html or index.php in the same folder
Options -Indexes
#Rewrite url for no redirect the user to "public" folder
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*).(gif|jpg|png|jpeg|svg|css|js|swf|woff|woff2|ttf|eot)$ public/$1.$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ public/index.php?$1 [QSA,L]