httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject Re: WWW Form Bug Report: "No CGI & Authentication vars" on Solaris 2.x (fwd)
Date Tue, 05 Dec 1995 09:55:56 GMT

> Message-Id: <m0tMsaB-000NcUC@2hoog.vpro.nl>
> From: rico@vpro.nl (Rico Jansen)
> Subject: Re: WWW Form Bug Report: "No CGI & Authentication vars" on Solaris 2.x (fwd)
> To: hartill@lanl.gov
> Date: Tue, 5 Dec 1995 09:18:35 +0100 (MET)
> In-Reply-To: <199512042017.AA204158267@ooo.lanl.gov> from "Rob Hartill" at Dec
4, 95 01:17:47 pm
> X-Mailer: ELM [version 2.4 PL5]
> Content-Type: text
> Content-Length: 1240      
> Status: RO
> 
> > This doesn't sound right.
> > Lots of people are using authentication on scripts.
> 
> No I was rather suprised it didn't work. The problem
> is not that you don't need to authenticate (you do) but
> that the information is not passed to the script.
> 
> > 
> > Did you forget to add "POST" to the <Limit ... > ?
> > 
> 
> No here is our .htaccess file :
> 
> AuthUserFile /home/wwwtech/.htpasswd
> AuthGroupFile /usr/local/lib/www/.htgroup
> AuthName 2hoog
> AuthType Basic
> 
> <Limit GET POST PUT>
> require valid-user
> </Limit>
> 
> The only point that is still open is that I haven't tested it with
> server side includes but with ScriptAlias programs only.
> 
> But on the other hand, if you look through the source you'll find
> that auth_type doesn't get set anywhere, except in the config.
> Which is strange since in util_script.c it (auth_type) is used to test if 
> AUTH_TYPE needs to be passed. 
> 
> So I arrived to the conclusion that it needed to be set in mod_auth.c when
> the authentication succeeded, hence the line c->auth_type=auth_type(r);
> 
> Greetings,
> Rico
> -- 
> Rico Jansen (rico@vpro.nl) <A HREF="http://www.vpro.nl">VPRO</A>
> GCS d+(-) H s+ !g p1 !au a- w+ v(-) C++ USL++++$ P L++ 3 E- N++ K++ W---(--)
> 2.1 M(-) V- po Y+ t+ !5 !j R !G tv- b+++ D B- e++ u*+ h f r-- (!)n+ y*+ 
> 


Mime
View raw message