...
FastCGI SP Application
The FastCGI Application consists of 2 modules:
- A FastCGI responder (shibresponder) that handles the HandlerURL
- A FastCGI authorizer (shibauthorizer) that acts as a filter and does the usual (authN, export assertions and authZ).
Bellow is a sample lighttpd snip of the configuration needed to get this to work:
Code Block | ||
---|---|---|
| ||
server.name = "your_server_name"
server.document-root = "/servers/tags/www/"
fastcgi.server = (
"/Shibboleth.sso" => (("socket" => "/tmp/fcgi-resp.sock", "bin-path" => "/servers/sapo-sp/lib/shibboleth/shibresponder", "check-local" => "disable", "mode" => "responder")),
"/" => (("socket" => "/tmp/fcgi-auth.sock", "bin-path" => "/servers/sapo-sp/lib/shibboleth/shibauthorizer", "check-local" => "disable", "mode" => "authorizer")),
".php" => (( "socket" => "/tmp/fgci-php.sock", "broken-scriptfilename" => "enable", "mode" => "responder"))
) |
If using lighttpd you need the patch for bug #322.
See also the Nginx topic.