123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- <FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">
- Order allow,deny
- </FilesMatch>
- Options -Indexes
- Options +FollowSymLinks
- ErrorDocument 404 /index.php
- DirectoryIndex index.php index.html index.htm
- <IfModule mod_php5.c>
- php_flag magic_quotes_gpc off
- php_flag magic_quotes_sybase off
- php_flag register_globals off
- php_flag session.auto_start off
- php_value mbstring.http_input pass
- php_value mbstring.http_output pass
- php_flag mbstring.encoding_translation off
- </IfModule>
- <IfModule mod_expires.c>
- ExpiresActive On
- ExpiresDefault A1209600
- <FilesMatch \.php$>
- ExpiresActive Off
- </FilesMatch>
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteRule ^ - [E=protossl]
- RewriteCond %{HTTPS} on
- RewriteRule ^ - [E=protossl:s]
- RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
- RewriteRule "(^|/)\." - [F]
- RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
- RewriteCond %{HTTP_HOST} ^www\.materio\.fr [OR]
- RewriteCond %{HTTP_HOST} ^materio\.fr [OR]
- RewriteCond %{HTTP_HOST} ^www\.materio\.net [OR]
- RewriteCond %{HTTP_HOST} ^materio\.net [OR]
- RewriteCond %{HTTP_HOST} ^www\.materio\.eu [OR]
- RewriteCond %{HTTP_HOST} ^materio\.eu [OR]
- RewriteCond %{HTTP_HOST} ^www\.materio\.com
- RewriteRule ^ https://materio.com%{REQUEST_URI} [L,R=301]
- RewriteBase /
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} !=/favicon.ico
- RewriteRule ^ index.php [L]
- <IfModule mod_headers.c>
- RewriteCond %{HTTP:Accept-encoding} gzip
- RewriteCond %{REQUEST_FILENAME}\.gz -s
- RewriteRule ^(.*)\.css $1\.css\.gz [QSA]
- RewriteCond %{HTTP:Accept-encoding} gzip
- RewriteCond %{REQUEST_FILENAME}\.gz -s
- RewriteRule ^(.*)\.js $1\.js\.gz [QSA]
- RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1]
- RewriteRule \.js\.gz$ - [T=text/javascript,E=no-gzip:1]
- <FilesMatch "(\.js\.gz|\.css\.gz)$">
- Header set Content-Encoding gzip
- Header append Vary Accept-Encoding
- </FilesMatch>
- </IfModule>
- </IfModule>
- <IfModule mod_headers.c>
- Header always set X-Content-Type-Options nosniff
- </IfModule>
- <IfModule mod_mime.c>
- AddType application/atom+xml atom
- AddType application/json json map topojson
- AddType application/ld+json jsonld
- AddType application/rss+xml rss
- AddType application/vnd.geo+json geojson
- AddType application/xml rdf xml
- AddType application/javascript js
- AddType application/manifest+json webmanifest
- AddType application/x-web-app-manifest+json webapp
- AddType text/cache-manifest appcache
- AddType audio/mp4 f4a f4b m4a
- AddType audio/ogg oga ogg opus
- AddType image/bmp bmp
- AddType image/svg+xml svg svgz
- AddType image/webp webp
- AddType video/mp4 f4v f4p m4v mp4
- AddType video/ogg ogv
- AddType video/webm webm
- AddType video/x-flv flv
- AddType image/x-icon cur ico
- AddType application/font-woff woff
- AddType application/font-woff2 woff2
- AddType application/vnd.ms-fontobject eot
- AddType application/x-font-ttf ttc ttf
- AddType font/opentype otf
- AddType application/octet-stream safariextz
- AddType application/x-bb-appworld bbaw
- AddType application/x-chrome-extension crx
- AddType application/x-opera-extension oex
- AddType application/x-xpinstall xpi
- AddType text/vcard vcard vcf
- AddType text/vnd.rim.location.xloc xloc
- AddType text/vtt vtt
- AddType text/x-component htc
- </IfModule>
- AddDefaultCharset utf-8
- <IfModule mod_mime.c>
- AddCharset utf-8 .atom \
- .bbaw \
- .css \
- .geojson \
- .js \
- .json \
- .jsonld \
- .manifest \
- .rdf \
- .rss \
- .topojson \
- .vtt \
- .webapp \
- .webmanifest \
- .xloc \
- .xml
- </IfModule>
|