# FastCgi Configuration # Load the module LoadModule fastcgi_module /usr/lib/httpd/modules/mod_fastcgi.so # Add our handlers for fastcgi scripts if they get used AddHandler fastcgi-script .fcgi .fcg .fpl # You may need to adjust this depending on your needs but this should get you going # in the mean time. FastCgiConfig -singleThreshold 100 -killInterval 300 -autoUpdate -idle-timeout 60 -pass-header HTTP_AUTHORIZATION -maxClassProcesses 1 # You can probably uncomment this if you aren't using a userdir setup. FastCgiWrapper /usr/sbin/suexec # Example of how to use a wrapper script. If you aren't using php-fpm with # fastcgi, you will need to uncomment this. I've included the php-fastcgi.fgci # with the slackbuild. Please see /usr/doc/fcgi # # Order Deny,Allow # Deny from All # Allow from env=REDIRECT_STATUS # Options +ExecCGI +FollowSymLInks +SymLinksIfOwnerMatch # SetHandler fastcgi-script # # This example shows that you can define the types and actions here or in # the vhost.conf. #DirectoryIndex index.html index.shtml index.cgi index.php #AddType application/x-httpd-php .php #AddType application/x-httpd-fastphp .php #Action application/x-httpd-fastphp /fcgi-bin/php-fastcgi