Revision fa293e7d
Added by Marc Dequènes over 14 years ago
- ID fa293e7d64b4cd1ea3dbace3b2b5a83679409a1b
public/.htaccess | ||
---|---|---|
PassengerEnabled On
|
||
RailsEnv "development"
|
||
RailsBaseURI /duck/jmb/public
|
||
|
||
# General Apache options
|
||
AddHandler fastcgi-script .fcgi
|
||
AddHandler cgi-script .cgi
|
||
... | ... | |
# Alias /myrailsapp /path/to/myrailsapp/public
|
||
# RewriteBase /myrailsapp
|
||
|
||
RewriteRule ^$ index.html [QSA]
|
||
RewriteRule ^([^.]+)$ $1.html [QSA]
|
||
RewriteCond %{REQUEST_FILENAME} !-f
|
||
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
|
||
#RewriteRule ^$ index.html [QSA]
|
||
#RewriteRule ^([^.]+)$ $1.html [QSA]
|
||
#RewriteCond %{REQUEST_FILENAME} !-f
|
||
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
|
||
|
||
# In case Rails experiences terminal errors
|
||
# Instead of displaying this message you can supply a file here which will be rendered instead
|
Also available in: Unified diff
[evol] switched from fcgid to passenger