Sha256: 999950a2fbd717ddd6ede0e7e67cba1027b5066778ff7cedec3d630bca56355b
Contents?: true
Size: 746 Bytes
Versions: 26
Compression:
Stored size: 746 Bytes
Contents
<% use_layout nil %> # 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 <% site.redirects.each do |opts| %> # Redirect <%= opts[:from] %> <%= opts[:to] %> <% end %>
Version data entries
26 entries across 13 versions & 1 rubygems