|
Revision 1027, 420 bytes
(checked in by david, 4 years ago)
|
Added conductor
|
| Line | |
|---|
| 1 |
# General Apache options |
|---|
| 2 |
AddHandler fastcgi-script .fcgi |
|---|
| 3 |
AddHandler cgi-script .cgi |
|---|
| 4 |
Options +FollowSymLinks +ExecCGI |
|---|
| 5 |
|
|---|
| 6 |
# Redirect all requests not available on the filesystem to Rails |
|---|
| 7 |
RewriteEngine On |
|---|
| 8 |
RewriteRule ^$ index.html [QSA] |
|---|
| 9 |
RewriteRule ^([^.]+)$ $1.html [QSA] |
|---|
| 10 |
RewriteCond %{REQUEST_FILENAME} !-f |
|---|
| 11 |
RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L] |
|---|
| 12 |
|
|---|
| 13 |
# In case Rails experiences terminal errors |
|---|
| 14 |
ErrorDocument 500 /500.html |
|---|