apache2 + mod_fastcgi + php4 + http_auth
Benjamin Billian <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
hi folks,
first of all, sorry for my bad english :)
my fcgi+php setup runs fine but for php based http_auth.
== httpd.conf ==
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcg
FastCgiWrapper /usr/sbin/suexec2
FastCgiServer /var/www/php-fcgi-scripts/nibbler/php-fcgi-starter \
-user benjamin \
-group users \
-pass-header Authorization
AddHandler php-fastcgi .php
<Location /cgi-bin/php-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action php-fastcgi /cgi-bin/php-fcgi-starter
AddType application/x-httpd-php .php
</IfModule>
== php-fgi-starter ==
#!/bin/sh
PHPRC="/var/www/nibbler/conf"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
exec /usr/bin/php-cgi
a searched a lot and thought "-pass-header Authorization" should pass
the required information to my phpscript. but it does not work.
any suggestions?
benjamin
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/