Sha256: 5af087404a301dae744ed1b9e86fc9adceb8ede31db170f93697033ee82bf6a5
Contents?: true
Size: 728 Bytes
Versions: 6
Compression:
Stored size: 728 Bytes
Contents
# For clean urls DirectoryIndex index.html <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # Do not do anything for already existing files and folders RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] # add .html file extension (if such file does exist) RewriteCond %{DOCUMENT_ROOT}/$1\.html -f RewriteRule ^(.+[^/])/?$ $1.html [L,QSA] </IfModule> # BEGIN Gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> # END Gzip <% Gumdrop.redirects.each do |opts| %> # Redirect <%= opts[:from] %> <%= opts[:to] %> <% end %>
Version data entries
6 entries across 3 versions & 1 rubygems