On Fri, 2008-07-11 at 20:16 +0200, Wolfgang Hennerbichler wrote:
> Hi people,
> 
> I have an application that I'd like to switch to mod_fcgid, but  
> unfortunately it doesn't work as I wanted it to. the (php) application  
> uses basic authentication (not in apache but in php) but the entered  
> information is definitely not sent down to the application with  
> mod_fcgid.

This is a feature of Apache itself. Your PHP script should look at the
REMOTE_USER environment variable to determine the authenticated user.

If the script insists on doing the authorisation itself then you may be
able to get Apache to pass through the correct headers by using
mod_rewrite; see
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483219#12> for
details.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to