Bug #99
closedFastCGI Auth and Env Vars
Description
I have an existing PERL FCGI Authorizer module I use with the Zeus webserver and tried it on lighttpd, but I don't get the ENV vars passed to me as I do with ZEUS.
Such as:
$ENV{'REMOTE_USER'} is always empty, even when I enter a user/pass into the basic auth browser prompt. (Other fields that should be present are password, referrer possibly virt server)
Here are the vars I get:
HTTP_ACCEPT */* REQUEST_METHOD GET SCRIPT_FILENAME /www//index.html BLOCKSIZE K SERVER_SOFTWARE lighttpd/1.2.5 SSH_AUTH_SOCK /tmp/ssh-XGOMXOUE9b/agent.19571 PWD /installers USER charles HTTP_USER_AGENT Mozilla/4.0 QUERY_STRING LOGNAME charles HTTP_ACCEPT_LANGUAGE en-us FCGI_ROLE AUTHORIZER SHLVL 2 ENV /home/charles/.shrc TDSVER 8.0 PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/home/charles/bin FTP_PASSIVE_MODE YES GATEWAY_INTERFACE CGI/1.1 TERM vt100 DOCUMENT_ROOT /www/ PAGER more SSH_TTY /dev/ttyp1 HOME /root SERVER_NAME 0.0.0.0 SSH_CONNECTION 192.168.2.79 3494 192.168.2.119 22 HTTP_ACCEPT_ENCODING gzip, deflate HTTP_CONNECTION Keep-Alive MAIL /var/mail/charles EDITOR vi SERVER_PORT 80 REDIRECT_STATUS 200 REMOTE_ADDR 192.168.2.79 OLDPWD /installers/mod_fastcgi-2.4.2 CVSROOT :pserver:cvsserver:/home/cvsrepos SERVER_PROTOCOL HTTP/1.1 _ /home/charles/spawn-fcgi REQUEST_URI /index.html TDSPORT 1433 SHELL /usr/local/bin/bash HTTP_HOST 192.168.2.119 PHP_FCGI_CHILDREN 5
-- charles
Updated by Anonymous about 18 years ago
Replying to charles@adultbouncer.com:
I have an existing PERL FCGI Authorizer module I use with the Zeus webserver and tried it on lighttpd, but I don't get the ENV vars passed to me as I do with ZEUS.
Such as:
$ENV{'REMOTE_USER'} is always empty, even when I enter a user/pass into the basic auth browser prompt. (Other fields that should be present are password, referrer possibly virt server)
SERVER_NAME 0.0.0.0
why
i have get this problem .how to deal with it .
i came from china .please deal with it .thanks
Updated by stbuehler about 16 years ago
- Status changed from New to Fixed
- Resolution set to invalid
fastcgi authorizers doesn't work with dynamic backends in lighty.
Updated by gstrauss almost 8 years ago
- Description updated (diff)
- Status changed from Invalid to Fixed
- Target version set to 1.4.x
supported added in lighttpd 1.4.42
Also available in: Atom