##// END OF EJS Templates
remove trailing white-spaces from public/htaccess.fcgi.example...
Toshi MARUYAMA -
r8183:cb4abb115de0
parent child
Show More
@@ -1,55 +1,55
1 1 # General Apache options
2 2 <IfModule mod_fastcgi.c>
3 3 AddHandler fastcgi-script .fcgi
4 4 </IfModule>
5 5 <IfModule mod_fcgid.c>
6 6 AddHandler fcgid-script .fcgi
7 7 </IfModule>
8 8 <IfModule mod_cgi.c>
9 9 AddHandler cgi-script .cgi
10 10 </IfModule>
11 11 Options +FollowSymLinks +ExecCGI
12 12
13 13 # If you don't want Rails to look in certain directories,
14 14 # use the following rewrite rules so that Apache won't rewrite certain requests
15 #
15 #
16 16 # Example:
17 17 # RewriteCond %{REQUEST_URI} ^/notrails.*
18 18 # RewriteRule .* - [L]
19 19
20 20 # Redirect all requests not available on the filesystem to Rails
21 21 # By default the cgi dispatcher is used which is very slow
22 #
22 #
23 23 # For better performance replace the dispatcher with the fastcgi one
24 24 #
25 25 # Example:
26 26 # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
27 27 RewriteEngine On
28 28
29 29 # If your Rails application is accessed via an Alias directive,
30 30 # then you MUST also set the RewriteBase in this htaccess file.
31 31 #
32 32 # Example:
33 33 # Alias /myrailsapp /path/to/myrailsapp/public
34 34 # RewriteBase /myrailsapp
35 35
36 36 RewriteRule ^$ index.html [QSA]
37 37 RewriteRule ^([^.]+)$ $1.html [QSA]
38 38 RewriteCond %{REQUEST_FILENAME} !-f
39 39 <IfModule mod_fastcgi.c>
40 40 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
41 41 </IfModule>
42 42 <IfModule mod_fcgid.c>
43 43 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
44 44 </IfModule>
45 45 <IfModule mod_cgi.c>
46 46 RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
47 47 </IfModule>
48 48
49 49 # In case Rails experiences terminal errors
50 50 # Instead of displaying this message you can supply a file here which will be rendered instead
51 #
51 #
52 52 # Example:
53 53 # ErrorDocument 500 /500.html
54 54
55 55 ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
General Comments 0
You need to be logged in to leave comments. Login now