Work:FastCGI

From Zoelife4U Wiki
Jump to: navigation, search

FastCGI and .htaccess

To run any scripted language with FastCGI you simply add to your .htaccess file:

   Options +ExecCGI
   AddHandler fcgid-script .fcgi

the above will work for Perl, Ruby, Python, etc. You may also change/add extensions so .fcgi .py .pl .rb can be used as well. Also be sure to make sure the script's permissions are set to 755 (+x) do not set them to anything different than 755 otherwise you may cause 500 or other more intense errors.

To add FastCGI support for PHP 5 add:

  AddHandler fcgid-script .php
Personal tools
Online Users
Zoelife4U: