123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <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 %{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/x-web-app-manifest+json .webapp
|