[Pkg-auth-maintainers] Bug#698396: doesn't work with SAPI (e.g. fastcgi)
Ivan Vilata i Balaguer
ivan at selidor.net
Sun Sep 22 20:35:48 UTC 2013
Package: simpleid
Followup-For: Bug #698396
I managed to successfuly run simpleid 0.8.4 under nginx and php5-fpm with the
following configuration:
location /simpleid {
index index.php;
if (!-e $request_filename) {
rewrite ^/simpleid/(.*)$ /simpleid/index.php?q=$1 last;
break;
}
}
# See http://markmail.org/message/i3y2uh5cnow53pyp.
location ~ ^/simpleid/.+\.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param PHP_AUTH_DIGEST $http_authorization;
fastcgi_param SCRIPT_FILENAME /home/path/to/root/$fastcgi_script_name;
fastcgi_param HTTPS $fastcgi_https;
include fastcgi_params;
}
This apparently works (e.g. logging into other sites and letting them retrieve
SRE records) but I'm not sure if it actually fixes the issue with headers
described above.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.16-linode28 (SMP w/4 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the Pkg-auth-maintainers
mailing list