123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$">
- 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 "(^|/)\." - [F]
- RewriteCond %{HTTP_HOST} ^basebeta\.materio\.com [OR]
- RewriteCond %{HTTP_HOST} ^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 [NC]
- RewriteRule ^ http://www.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>
- AddType application/javascript js jsonp
- AddType application/json json
- AddType audio/ogg oga ogg
- AddType audio/mp4 m4a f4a f4b
- AddType video/ogg ogv
- AddType video/mp4 mp4 m4v f4v f4p
- AddType video/webm webm
- AddType video/x-flv flv
- AddType image/svg+xml svg svgz
- AddEncoding gzip svgz
- AddType application/vnd.ms-fontobject eot
- AddType application/x-font-ttf ttf ttc
- AddType font/opentype otf
- AddType application/x-font-woff woff
- AddType image/x-icon ico
- AddType image/webp webp
- AddType text/cache-manifest appcache manifest
- AddType text/x-component htc
- AddType application/xml rss atom xml rdf
- AddType application/x-chrome-extension crx
- AddType application/x-opera-extension oex
- AddType application/x-xpinstall xpi
- AddType application/octet-stream safariextz
- AddType application/x-web-app-manifest+json webapp
- AddType text/x-vcard vcf
- AddType application/x-shockwave-flash swf
- AddType text/vtt vtt
- AddDefaultCharset utf-8
- AddCharset utf-8 .atom .css .js .json .rss .vtt .xml
- <IfModule mod_rewrite.c>
- RewriteCond %{SCRIPT_FILENAME} -d [OR]
- RewriteCond %{SCRIPT_FILENAME} -f
- RewriteRule "(^|/)\." - [F]
- </IfModule>
- <FilesMatch "(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- <IfModule php5_module>
- php_value session.cookie_httponly true
- </IfModule>
|