comparison public/htaccess.fcgi.example @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents 0579821a129a
children
comparison
equal deleted inserted replaced
929:5f33065ddc4b 1115:433d4f72a19b
3 AddHandler fastcgi-script .fcgi 3 AddHandler fastcgi-script .fcgi
4 </IfModule> 4 </IfModule>
5 <IfModule mod_fcgid.c> 5 <IfModule mod_fcgid.c>
6 AddHandler fcgid-script .fcgi 6 AddHandler fcgid-script .fcgi
7 </IfModule> 7 </IfModule>
8 <IfModule mod_cgi.c>
9 AddHandler cgi-script .cgi
10 </IfModule>
11 Options +FollowSymLinks +ExecCGI 8 Options +FollowSymLinks +ExecCGI
12 9
13 # If you don't want Rails to look in certain directories, 10 # If you don't want Rails to look in certain directories,
14 # use the following rewrite rules so that Apache won't rewrite certain requests 11 # use the following rewrite rules so that Apache won't rewrite certain requests
15 # 12 #
16 # Example: 13 # Example:
17 # RewriteCond %{REQUEST_URI} ^/notrails.* 14 # RewriteCond %{REQUEST_URI} ^/notrails.*
18 # RewriteRule .* - [L] 15 # RewriteRule .* - [L]
19 16
20 # Redirect all requests not available on the filesystem to Rails 17 # Redirect all requests not available on the filesystem to Rails
21 # By default the cgi dispatcher is used which is very slow 18 # By default the cgi dispatcher is used which is very slow
22 # 19 #
23 # For better performance replace the dispatcher with the fastcgi one 20 # For better performance replace the dispatcher with the fastcgi one
24 # 21 #
25 # Example: 22 # Example:
26 # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 23 # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
27 RewriteEngine On 24 RewriteEngine On
40 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 37 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
41 </IfModule> 38 </IfModule>
42 <IfModule mod_fcgid.c> 39 <IfModule mod_fcgid.c>
43 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 40 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
44 </IfModule> 41 </IfModule>
45 <IfModule mod_cgi.c>
46 RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
47 </IfModule>
48 42
49 # In case Rails experiences terminal errors 43 # In case Rails experiences terminal errors
50 # Instead of displaying this message you can supply a file here which will be rendered instead 44 # Instead of displaying this message you can supply a file here which will be rendered instead
51 # 45 #
52 # Example: 46 # Example:
53 # ErrorDocument 500 /500.html 47 # ErrorDocument 500 /500.html
54 48
55 ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly" 49 ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"