How do I enable FastCGI?
FastCGI is a web server module that speeds up your applications by keeping one interpreter running for multiple requests, instead of launching a separate interpreter for each request made while loading your page. This increases the runtime performance of websites written in many languages, such as PHP and Perl, and especially for Ruby on Rails.
FastCGI is enabled by default for files with the .fcgi extension. To enable FastCGI for another extension, such as .rb, add the following lines to a plain text file named .htaccess in the top directory of your website:
<Files *.rb>
SetHandler fcgid-script
</Files>
To enable FastCGI for another languages, change rb to your language’s extension (e.g., php, pl, etc.)

| Previous: | What is .my.cnf? What is my sql.mit.edu password? |
| Next: | How do I enable file uploads to my MediaWiki? |
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.
You are currently connected to cats-whiskers.mit.edu.
Other projects by the scripts.mit.edu creators:
MIT's Linux SSH server: Linerva | Athena on Ubuntu: Debathena | Linux security: Ksplice
