antt1995/2Moons-Xnova/master/xNova-Revolution/v5.0/.htaccess - Htaccess File

antt1995/2Moons-Xnova/master/xNova-Revolution/v5.0/.htaccess

<Files "common.php">
  Order Allow,Deny
  Deny from All
</Files>

<Files "install.sql">
  Order Allow,Deny
  Deny from All
</Files>

AddDefaultCharset utf-8
FileETag MTime Size

<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4.0[678] no-gzip
  BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
  SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
  Header append Vary User-Agent env=!dont-vary
</IfModule>

<IfModule mod_gzip.c>
  mod_gzip_on       Yes
  mod_gzip_dechunk  Yes
  mod_gzip_item_include file      .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler   ^cgi-script$
  mod_gzip_item_include mime      ^text/.*
  mod_gzip_item_include mime      ^application/x-javascript.*
  mod_gzip_item_exclude mime      ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A3600

  <FilesMatch .php$>
    ExpiresActive Off
  </FilesMatch>
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, no-gzip, REQUEST_URI

Comments

Apache