| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 24 Dec 2025 07:36:24 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081122123621
location: https://web.archive.org/web/20081122123621/https://wiki.rubyonrails.com/rails/pages/FastCGI
server-timing: captures_list;dur=0.616534, exclusion.robots;dur=0.056307, exclusion.robots.policy;dur=0.044385, esindex;dur=0.011428, cdx.remote;dur=16.514521, LoadShardBlock;dur=242.690183, PetaboxLoader3.datanode;dur=123.661342, PetaboxLoader3.resolve;dur=24.063577
x-app-server: wwwb-app210-dc8
x-ts: 302
x-tr: 283
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app210; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 24 Dec 2025 07:36:25 GMT
content-type: text/html
x-archive-orig-date: Sat, 22 Nov 2008 20:36:20 GMT
x-archive-orig-server: Apache/2.2.2 (FreeBSD) mod_ssl/2.2.2 OpenSSL/0.9.8b DAV/2 PHP/5.1.4 SVN/1.3.2 mod_vd/2.0 mod_fastcgi/2.4.2 proxy_html/2.5 Phusion_Passenger/2.1.0
x-archive-orig-x-powered-by: Phusion Passenger (mod_rails/mod_rack) 2.1.0
x-archive-orig-cache-control: no-cache
x-archive-orig-set-cookie: _session_id=df7191e071ddf3bc8f920ffa13d7aa1d; path=/
x-archive-orig-vary: Accept-Encoding
x-archive-orig-content-length: 4356
x-archive-orig-connection: close
x-archive-orig-x_commoncrawl_parsesegmentid: 4928
x-archive-orig-x_commoncrawl_originalurl: https://wiki.rubyonrails.com/rails/pages/FastCGI
x-archive-orig-x_commoncrawl_urlfp: -9179078733451582681
x-archive-orig-x_commoncrawl_hostfp: -3695281302590067137
x-archive-orig-x_commoncrawl_signature: 1e42fc45b083be95b4087f2185974ed4
x-archive-orig-x_commoncrawl_crawlno: 1
x-archive-orig-x_commoncrawl_fetchtimestamp: 1227386181030
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
x-archive-orig-content-encoding: gzip
memento-datetime: Sat, 22 Nov 2008 12:36:21 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 1227985235386_42-c/1227985327805_50.arc.gz
server-timing: captures_list;dur=0.628554, exclusion.robots;dur=0.021430, exclusion.robots.policy;dur=0.009185, esindex;dur=0.013031, cdx.remote;dur=81.238051, LoadShardBlock;dur=244.608585, PetaboxLoader3.resolve;dur=145.945567, PetaboxLoader3.datanode;dur=106.010029, load_resource;dur=151.587101
x-app-server: wwwb-app210-dc8
x-ts: 200
x-tr: 527
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
fastcgi in Ruby on Rails
Ruby on Rails
Ruby on Rails
fastcgi
What is FastCGI?
FastCGI is a language independent, webserver-independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs.
Using FastCGI with Rails
Unix/Linux/BSD
If you are using Apache you will need mod_fcgi, and the FastCGI? Development kit; These can be obtained from https://www.fastcgi.com . You will also need ruby-fcgi.
Note that official FastCGI with Apache 2 is considered unreliable, a prefered module for use with Apache 2 and up, mod_fcgid can be found here: https://fastcgi.coremail.cn/
(Also found in major package systems)
You can do the install manually or using your package manager.
Package Managers
Download and install mod_fcgi from your distributions package management system of choice. A good resource is https://rpm.pbone.net/
- Gentoo:
emerge fcgi ruby-fcgi mod_fastcgi
Then edit /etc/apache(2)/modules/_mod_fastcgi.conf as described below. Add -D FASTCGI to /etc/conf.d/apache(2) - Debian/Ubuntu:
Under debian and ubuntu, run
apt-get install libapache-mod-fastcgi libfcgi-ruby1.8
(for apache 2, replace libapache with libapache2). - Fedora
Under Fedora, there is no package for mod_fcgi. See RailsOnFedora for a step by step guide to getting FCGI working in Fedora.
Manually
- Install the FastCGI? Devel kit.
$ wget <a href="https://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz">www.fastcgi.com/dist/fcgi-2.4.0.tar.gz</a> $ tar zxvf fcgi-2.4.0.tar.gz $ cd fcgi-2.4.0 $ ./configure $ sudo make install