Cody Pisto
2005-10-06 00:10:25 UTC
Hi all,
Ive got two questions regarding lighttpd's fastcgi support,
1.) How does one enable a fastcgi authorizer to protect other fastcgis?
I tried the following, to protect /fcgi/streamer.fcgi, and it does
execute the authorizer, but 403 is always returned even though
the authorizer is returning 200, (the authorizer works as is on apache
and zeus)
fastcgi.server = (
"/fcgi/" =>
( "streamerauth" =>
(
"mode" => "authorizer",
"docroot" => "/opt/nmxs/app",
"check-local" => "disable",
"socket" => "/tmp/streamerauth.sock"
)
),
"/fcgi/streamer.fcgi" =>
( "streamer" =>
(
"mode" => "responder",
"check-local" => "disable",
"socket" => "/tmp/streamer.sock"
)
)
)
)
2.) Does lighttpd not support authorizers setting variables for later
fastcgi processes to see as per the fastcgi spec?
IE the authorizer adding a header to its output like "Variable-name:
value", and all authorized later fastcgi processes seeing an environment
variable "name"..
Thanks in advance,
-Cody
Ive got two questions regarding lighttpd's fastcgi support,
1.) How does one enable a fastcgi authorizer to protect other fastcgis?
I tried the following, to protect /fcgi/streamer.fcgi, and it does
execute the authorizer, but 403 is always returned even though
the authorizer is returning 200, (the authorizer works as is on apache
and zeus)
fastcgi.server = (
"/fcgi/" =>
( "streamerauth" =>
(
"mode" => "authorizer",
"docroot" => "/opt/nmxs/app",
"check-local" => "disable",
"socket" => "/tmp/streamerauth.sock"
)
),
"/fcgi/streamer.fcgi" =>
( "streamer" =>
(
"mode" => "responder",
"check-local" => "disable",
"socket" => "/tmp/streamer.sock"
)
)
)
)
2.) Does lighttpd not support authorizers setting variables for later
fastcgi processes to see as per the fastcgi spec?
IE the authorizer adding a header to its output like "Variable-name:
value", and all authorized later fastcgi processes seeing an environment
variable "name"..
Thanks in advance,
-Cody