Thread apache2, fastcgi und andere sub-domains (3 answers)
Opened by esskar at 2009-03-14 11:24

stephan48
 2009-03-14 11:44
#119306 #119306
User since
2009-03-13
3 Artikel
BenutzerIn
[Homepage] [default_avatar]
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>

View full thread apache2, fastcgi und andere sub-domains