mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
d4aead0d50
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
12 lines
No EOL
352 B
ApacheConf
Executable file
12 lines
No EOL
352 B
ApacheConf
Executable file
# General Apache options
|
|
AddHandler fastcgi-script .fcgi
|
|
AddHandler cgi-script .cgi
|
|
Options +FollowSymLinks +ExecCGI
|
|
|
|
# Redirect all requests not available on the filesystem to Rails
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L]
|
|
|
|
# In case Rails experiences terminal errors
|
|
ErrorDocument 500 /500.html |