DBGTMaster
16.05.08, 22:24
Hallo,
habe nun eine Weile schon auf meinen Lighttpd via php-fastcgi am laufen, was auch Prima läuft.
Will nun das ganze auch mit python anstellen, was aber irgendwie nicht so richtig funktionieren will.
lighttpd.conf:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php5-cgi"
)
),
".py" =>
( "localhost" =>
(
"socket" => "/tmp/py-fastcgi.socket",
"bin-path" => "/usr/bin/python"
)
)
)
Das das mit python nicht funkt, war mit irgendwie klar, da das kein cgi ist.
Nur wie bekomme ich das ganze nun zum laufen?
habe nun eine Weile schon auf meinen Lighttpd via php-fastcgi am laufen, was auch Prima läuft.
Will nun das ganze auch mit python anstellen, was aber irgendwie nicht so richtig funktionieren will.
lighttpd.conf:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php5-cgi"
)
),
".py" =>
( "localhost" =>
(
"socket" => "/tmp/py-fastcgi.socket",
"bin-path" => "/usr/bin/python"
)
)
)
Das das mit python nicht funkt, war mit irgendwie klar, da das kein cgi ist.
Nur wie bekomme ich das ganze nun zum laufen?