1 2 Config Tips 3 ---------------------- 4 5 * How to run your FastCGI app 6 7 In case that FastCGI script has ".fcgi" suffix, you just put the script 8 in /usr/lib/cgi-bin (or other directory has "+ExecCGI") and can run it. 9 10 * Using non-".fcgi" suffix 11 12 If your app have non-".fcgi" suffix, add AddHandler/SetHandler to httpd.conf. 13 For exapmple; 14 --- 15 <Directory /var/www/myfcgiapp> 16 AddHandler fastcgi-script .yourext .pl .rb .cgi .sh 17 </Directory> 18 --- 19 20 * How to run under SuExec 21 22 make enable following line; 23 #FastCgiWrapper /usr/lib/apache2/suexec 24 in /etc/apache2/mods-enabled/fastcgi.conf 25 26 * If you change apache's uid 27 28 You need to change owner of /var/lib/apache*/fastcgi to uid of apache run. 29