annotate .svn/pristine/81/813d4652d70815bee6e19eb669005e506172f07f.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 # General Apache options
Chris@1296 2 <IfModule mod_fastcgi.c>
Chris@1296 3 AddHandler fastcgi-script .fcgi
Chris@1296 4 </IfModule>
Chris@1296 5 <IfModule mod_fcgid.c>
Chris@1296 6 AddHandler fcgid-script .fcgi
Chris@1296 7 </IfModule>
Chris@1296 8 Options +FollowSymLinks +ExecCGI
Chris@1296 9
Chris@1296 10 # If you don't want Rails to look in certain directories,
Chris@1296 11 # use the following rewrite rules so that Apache won't rewrite certain requests
Chris@1296 12 #
Chris@1296 13 # Example:
Chris@1296 14 # RewriteCond %{REQUEST_URI} ^/notrails.*
Chris@1296 15 # RewriteRule .* - [L]
Chris@1296 16
Chris@1296 17 # Redirect all requests not available on the filesystem to Rails
Chris@1296 18 # By default the cgi dispatcher is used which is very slow
Chris@1296 19 #
Chris@1296 20 # For better performance replace the dispatcher with the fastcgi one
Chris@1296 21 #
Chris@1296 22 # Example:
Chris@1296 23 # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Chris@1296 24 RewriteEngine On
Chris@1296 25
Chris@1296 26 # If your Rails application is accessed via an Alias directive,
Chris@1296 27 # then you MUST also set the RewriteBase in this htaccess file.
Chris@1296 28 #
Chris@1296 29 # Example:
Chris@1296 30 # Alias /myrailsapp /path/to/myrailsapp/public
Chris@1296 31 # RewriteBase /myrailsapp
Chris@1296 32
Chris@1296 33 RewriteRule ^$ index.html [QSA]
Chris@1296 34 RewriteRule ^([^.]+)$ $1.html [QSA]
Chris@1296 35 RewriteCond %{REQUEST_FILENAME} !-f
Chris@1296 36 <IfModule mod_fastcgi.c>
Chris@1296 37 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Chris@1296 38 </IfModule>
Chris@1296 39 <IfModule mod_fcgid.c>
Chris@1296 40 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Chris@1296 41 </IfModule>
Chris@1296 42
Chris@1296 43 # In case Rails experiences terminal errors
Chris@1296 44 # Instead of displaying this message you can supply a file here which will be rendered instead
Chris@1296 45 #
Chris@1296 46 # Example:
Chris@1296 47 # ErrorDocument 500 /500.html
Chris@1296 48
Chris@1296 49 ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"