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.allopizzarapido.com_1718269452
/
htdocs_OLD (site mis en pause)
/
/srv/data/trash/vhost_www.allopizzarapido.com_1718269452/htdocs_OLD (site mis en pause)/.htaccess
###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} !^www\. #RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] #RewriteRule ^([_a-z0-9]*)$ index.php [L] #RewriteRule ^(.*)$ index.php [L] #RewriteRule ^(adminXXX)($|/) - [L] RewriteRule !\.(js|ico|txt|gif|jpg|png|css|less|otf|eot|svg|ttf|woff)$ index.php #Ou /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_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>