# Apache version required 2.x
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ src/index.php [L]
# RedirectMatch 403 ^/vendor/*$
ErrorDocument 403 /src/index.php
Order Allow,Deny
Deny from all
= 2.4>
Require all denied
# on donne l'autorisation d'acceder au fichier handler.php (sinon le site ne sera pas foncitonnel)
Order Allow,Deny
Allow from all
= 2.4>
Require all granted