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

Version Path
gumdrop-0.8.0 templates/default/source/default.htaccess.erb
gumdrop-0.8.0 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.5 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.5 templates/default/source/default.htaccess.erb
gumdrop-0.7.4 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.4 templates/default/source/default.htaccess.erb
gumdrop-0.7.3.1 templates/default/source/default.htaccess.erb
gumdrop-0.7.3.1 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.3 templates/default/source/default.htaccess.erb
gumdrop-0.7.3 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.2 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.2 templates/default/source/default.htaccess.erb
gumdrop-0.7.1 templates/default/source/default.htaccess.erb
gumdrop-0.7.1 templates/backbone/source/default.htaccess.erb
gumdrop-0.7.0 templates/default/source/default.htaccess.erb
gumdrop-0.7.0 templates/backbone/source/default.htaccess.erb
gumdrop-0.6.4 templates/default/source/default.htaccess.erb
gumdrop-0.6.4 templates/backbone/source/default.htaccess.erb
gumdrop-0.6.3 templates/backbone/source/default.htaccess.erb
gumdrop-0.6.3 templates/default/source/default.htaccess.erb