Sha256: 4f745927d0e206d5104862eeba381561582815d2237a3d87e941ec56205ada88

Contents?: true

Size: 1.02 KB

Versions: 15

Compression:

Stored size: 1.02 KB

Contents

# General Apache options
AddHandler fastcgi-script .fcgi
#AddHandler fcgid-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

15 entries across 15 versions & 1 rubygems

Version Path
typo-5.4.4 public/.htaccess
typo-5.4.3 public/.htaccess
typo-5.4.2 public/.htaccess
typo-5.4.1 public/.htaccess
typo-5.4 public/.htaccess
typo-5.0.3.98.1 public/.htaccess
typo-5.0.3.98 public/.htaccess
typo-5.1.2 public/.htaccess
typo-5.1.1 public/.htaccess
typo-5.1.3 public/.htaccess
typo-5.1.98 public/.htaccess
typo-5.1 public/.htaccess
typo-5.2.98 public/.htaccess
typo-5.2 public/.htaccess
typo-5.3 public/.htaccess