Files
crm-ms1/.htaccess
2026-05-27 11:48:31 -04:00

18 lines
479 B
ApacheConf

Options -Multiviews
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteBase /
# si fichier ou dossier existe → ne pas toucher
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# envoyer vers CodeIgniter
RewriteRule ^(.*)$ index.php/$1 [L]
# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit