Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.art2t.fr_1669198987
/
htdocs
/
/srv/data/trash/vhost_www.art2t.fr_1669198987/htdocs/.htaccessOLD
###Variable d'environnement SetEnv MAGIC_QUOTES 0 SetEnv REGISTER_GLOBALS 0 ###Interdire le listing contenu d'un dossier Options -Indexes ###To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist #Options -MultiViews ###Reecriture URL RewriteEngine on Options +FollowSymlinks #RewriteCond %{HTTP_HOST} !^$ #RewriteRule ^(.*) /$1 [QSA,L,R=301] RewriteRule ^Couverture$ ./index.php [L] RewriteRule ^Autres$ ./index.php [L] RewriteRule ^Entreprise$ ./index.php [L] RewriteRule ^Devis-En-Ligne(-(success|fail))?$ ./index.php?state=$2 [L] RewriteRule ^Contact(-(success|fail))?$ ./index.php?state=$2 [L] RewriteRule ^Realisations$ ./index.php [L] RewriteRule ^CGV$ ./index.php [L] RewriteRule ^Mentions-Legales$ ./index.php [L] ErrorDocument 404 /index.php ErrorDocument 403 /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_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 day" # My favicon ExpiresByType image/x-icon "access plus 1 month” # Images ExpiresByType image/gif "access plus 1 week" ExpiresByType image/png "access plus 1 week" ExpiresByType image/jpg "access plus 1 week" ExpiresByType image/jpeg "access plus 1 week" # CSS ExpiresByType text/css "access 1 week” # Javascript ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" </IfModule>