Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>are all the correct gems installed ?</p> <p>here is my dispatch.fcgi :</p> <pre><code> #!/usr/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' # require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process! </code></pre> <p>and my .htaccess</p> <pre><code># General Apache options &lt;IfModule mod_fastcgi.c&gt; AddHandler fastcgi-script .fcgi &lt;/IfModule&gt; &lt;IfModule mod_fcgid.c&gt; # AddHandler fcgid-script .fcgi &lt;/IfModule&gt; &lt;IfModule mod_cgi.c&gt; # AddHandler cgi-script .cgi &lt;/IfModule&gt; # For security reasons, Option followsymlinks cannot be overridden. #Options +FollowSymLinks +ExecCGI Options +SymLinksIfOwnerMatch +ExecCGI # If you don't want Rails to look in certain directories, # use the following rewrite rules so that Apache won't rewrite certain requests # # Example: # RewriteCond %{REQUEST_URI} ^/notrails.* # RewriteRule .* - [L] # Redirect all requests not available on the filesystem to Rails # By default the cgi dispatcher is used which is very slow # # For better performance replace the dispatcher with the fastcgi one # # Example: # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] RewriteEngine On # If your Rails application is accessed via an Alias directive, # then you MUST also set the RewriteBase in this htaccess file. # # Example: # Alias /myrailsapp /path/to/myrailsapp/public # RewriteBase /myrailsapp Options -MultiViews PassengerResolveSymlinksInDocumentRoot on #Change to your environment RailsEnv production RewriteBase / RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f &lt;IfModule mod_fastcgi.c&gt; RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] &lt;/IfModule&gt; &lt;IfModule mod_fcgid.c&gt; RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] &lt;/IfModule&gt; &lt;IfModule mod_cgi.c&gt; RewriteRule ^(.*)$ dispatch.cgi [QSA,L] &lt;/IfModule&gt; # In case Rails experiences terminal errors # Instead of displaying this message you can supply a file here which will be rendered instead # # Example: # ErrorDocument 500 /500.html ErrorDocument 500 "&lt;h2&gt;Application error&lt;/h2&gt;Rails application failed to start properly" #RewriteCond %{HTTP_HOST} ^redmine.acme-tech.net$ [OR] #RewriteCond %{HTTP_HOST} ^www.redmine.acme-tech.net$ #RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12018\/$1" [P,L] </code></pre> <p>hope it helps</p> <p>gj.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload