closer9/limbo/master/public/.htaccess - Htaccess File

closer9/limbo/master/public/.htaccess

RewriteEngine on

# You may need to specify the base path here
# RewriteBase /

RewriteRule .git - [F,L]
RewriteRule ^(.*).[d]{10}.(css|js)$ $1.$2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ ?pid=$1 [QSA,L]

# Setup cacheing for non-text files
<IfModule mod_expires.c>
  <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    ExpiresActive on
    ExpiresDefault "access plus 1 hour"
  </FilesMatch>
</IfModule>

# Setup compression for text based files
<IfModule mod_deflate.c>
  <FilesMatch "\.(js|css|html|htm|php|xml)$">
    SetOutputFilter DEFLATE
  </FilesMatch>
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME, REQUEST_URI

Comments

Apache