rendered paste body<IfModule mod_fastcgi.c>
#temporary sockets are stored here, this must be at the top!
FastCgiIpcDir /tmp/fcgi
FastCgiConfig -pass-header Authorization
FastCgiWrapper /usr/local/sbin/suexec
</IfModule>
<VirtualHost 192.168.1.211:80>
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/"
#######################
<IfModule mod_fastcgi.c>
SuexecUserGroup test virtualusers
# alternatively
# SuexecUserGroup #userid #groupid
AddHandler php-fastcgi .php
Alias /cgi-bin/ /usr/local/www/virtual/virtual-domain.tld/cgi-bin/
<Location /cgi-bin/php>
SetHandler fastcgi-script
Options ExecCGI
</Location>
Action php-fastcgi /cgi-bin/php
AddType application/x-httpd-php .php
</IfModule>
#######################
<Directory '/home/test/docs'>
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
</Directory>
<Directory '/home/test/pub'>
Order allow,deny
Allow from all
Options Indexes MultiViews
AllowOverride none
</Directory>
<Directory '/home/test/private'>
Order deny,allow
Deny from all
Options Indexes MultiViews
AllowOverride Authconfig
</Directory>
# needed for php5-cgi (without suexec)
# <Directory '/home/test/cgi'>
# Order allow,deny
# Allow from all
# Options +ExecCGI
# </Directory>
</virtualhost>