5

lighttpd fastcgi with python and php on the same virtual host

view full story
linux-howto

http://unix.stackexchange.com – I have a python application running on the server, which should process any urls except /wiki. The /wiki url should show a php application. My virtual host looks like this: $HTTP["host"] == "domain.tld" { fastcgi.server = ( "/django.fcgi" => ( "main" => ( "socket" => "/tmp/django.sock", "check-local" => "disable", ) ), ".php" => (( "bin-path" => "/usr/bin/php-cgi", (HowTos)