#temporary sockets are stored here, this must be at the top! FastCgiIpcDir /tmp/fcgi FastCgiConfig -pass-header Authorization FastCgiWrapper /usr/local/sbin/suexec DocumentRoot /home/test/docs ServerName devbox.caladan.dune.org ErrorLog /home/test/logs/devbox.caladan.dune.org-error.log CustomLog /home/test/logs/devbox.caladan.dune.org-access.log combined ScriptAlias /cgi-bin/ "/home/test/cgi/" ####################### SuexecUserGroup test virtualusers # alternatively # SuexecUserGroup #userid #groupid AddHandler php-fastcgi .php Alias /cgi-bin/ /usr/local/www/virtual/virtual-domain.tld/cgi-bin/ SetHandler fastcgi-script Options ExecCGI Action php-fastcgi /cgi-bin/php AddType application/x-httpd-php .php ####################### Order allow,deny Allow from all Options Indexes MultiViews +FollowSymLinks +ExecCGI AllowOverride All # php5-cgi (without suexec) # AddHandler php-script .php # Action php-script /cgi-bin/php5 Order allow,deny Allow from all Options Indexes MultiViews AllowOverride none Order deny,allow Deny from all Options Indexes MultiViews AllowOverride Authconfig # needed for php5-cgi (without suexec) # # Order allow,deny # Allow from all # Options +ExecCGI #