Sha256: 1b616e9993113ace291b540d970d151ab86fcb6ee3411fba95b2775683f54ee6

Contents?: true

Size: 1013 Bytes

Versions: 11

Compression:

Stored size: 1013 Bytes

Contents

# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

# If you don't want Rails to look in certain directories,
# use the following rewrite rules so that Apache won't rewrite certain requests
# 
# Example:
#   RewriteCond %{REQUEST_URI} ^/notrails.*
#   RewriteRule .* - [L]

# Redirect all requests not available on the filesystem to Rails
RewriteEngine On

# If Typo is accessed via an Alias directive, then you MUST also set 
# the RewriteBase in this htaccess file.
#
# Example:
#   Alias /blog /path/to/typo/public
#   RewriteBase /blog

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

# In case Typo experiences terminal errors
# Instead of displaying this message you can supply a file here which will be rendered instead
# 
# Example:
#   ErrorDocument 500 /500.html

ErrorDocument 500 "<h2>Application error</h2>Typo failed to start properly"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typo-3.99.0 public/.htaccess
typo-3.99.3 public/.htaccess
typo-3.99.2 public/.htaccess
typo-3.99.1 public/.htaccess
typo-4.0.1 public/.htaccess
typo-4.0.0 public/.htaccess
typo-4.0.2 public/.htaccess
typo-3.99.4 public/.htaccess
typo-4.1.1 public/.htaccess
typo-4.0.3 public/.htaccess
typo-4.1 public/.htaccess