Den FCGI Server Starte ich mit:
/home/stephan/catalyst/SteJau/script/stejau_fastcgi.pl -l /tmp/SteJauWeb.socket -n 5 -p /tmp/SteJauWeb.pid -d
Hier noch ein kleines script womit dus einfach starten stoppen kannst:
http://abc123.pastebin.com/m1b82838a
(das restart klappt nicht nur start stop)
Mein Code in der vhostcfg:
FastCgiExternalServer /tmp/SteJau.fcgi -socket /tmp/SteJauWeb.socket
<VirtualHost *:80>
ServerAdmin postmaster@stejau.de
DocumentRoot /home/stephan/catalyst/SteJau/root/
ServerName test.stejau.de
ServerAlias test.stejau.de www.test.stejau.de
ErrorLog /var/log/apache2/stephan/logs/error_stejau_test.txt
CustomLog /var/log/apache2/stephan/logs/common_stejau_test.txt combined
Alias / /tmp/SteJau.fcgi/
<Location /static>
SetHandler default-handler
</Location>
AddDefaultCharset UTF-8
</VirtualHost>