Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.shinegis.mu
/
htdocs
/
/srv/data/web/vhosts/www.shinegis.mu/htdocs/.htaccess
RedirectMatch 404 ^/.well-known/pki-validation/fileauth.txt$ ###Variable d'environnement SetEnv MAGIC_QUOTES 0 SetEnv REGISTER_GLOBALS 0 ###Interdire le listing contenu d'un dossier Options -Indexes ###Reecriture URL RewriteEngine on Options +FollowSymlinks #RewriteCond %{HTTP_HOST} !^www\. #RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] #RewriteRule ^([_a-z0-9]*)$ index.php [L] #RewriteRule ^(.*)$ index.php [L] RewriteRule !\.(js|ico|txt|gif|jpg|json|jpeg|png|css|less|otf|eot|svg|ttf|woff|pdf|zip|xml)$ index.php ErrorDocument 404 /Template_v4/index.php ErrorDocument 403 /Template_v4//index.php AddCharset UTF-8 .html # Apache 2.0 SetOutputFilter DEFLATE #AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript <IfModule mod_headers.c> Header set Connection keep-alive </IfModule> <IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 year" # My favicon ExpiresByType image/x-icon "access plus 1 year" # Images ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" # CSS ExpiresByType text/css "access 1 year" # Javascript ExpiresByType application/javascript "access plus 1 year" ExpiresByType application/x-javascript "access plus 1 year" </IfModule>