Htaccess File

Lymke/scrum-apigility/master/public/prod.htaccess

REQUEST_FILENAME
# "active" PHP5
AddType x-mapp-php5 .php
 
# Active rewrite engine
RewriteEngine on
 
RewriteBase /
# pour que google trouve le fichier robots.txt, on ne redirige pas vers index.php
RewriteRule ^robots.txt$ robots.txt [L]
# pareil pour le fichier sitemap
#RewriteRule ^sitemap.xml$ sitemap.xml [L]

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Exit mobile version