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

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

<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_rewrite.c>
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-l
  RewriteRule .* index.php [L]
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A3600
  <FilesMatch .js$>
    ExpiresDefault A43200
  </FilesMatch>
  <FilesMatch .css$>
    ExpiresDefault A172800
  </FilesMatch>
  <FilesMatch .(?:gif|jpe?g|png|ico)$>
    ExpiresDefault A604800
  </FilesMatch>
  <FilesMatch .php$>
    ExpiresActive Off
  </FilesMatch>
</IfModule>

On Github License

Files

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

Comments

Apache