Sha256: 0ed52b61a68276923a650544d03aa25bdbd9ad121cfadc1d2588f5ad32b7b232

Contents?: true

Size: 1.02 KB

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
typo-5.0.1 public/.htaccess
typo-5.0.2 public/.htaccess
typo-5.0 public/.htaccess