I got the problem. I found in the Apache FAQ that the cgi script has to
be protected too,  not only the HTML  form . Then it works both with
GET and POST ! Have a look at:
http://www.apache.org/docs/misc/FAQ.html#remote-user-var

Hope this help
Edouard


----- Original Message ----- 
From: "Colin Faber" <>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 24, 2000 12:33 AM
Subject: Re: ENV-Variable with Posts...


> They do, if you use htaccess it should populate it every time..
> 
> 
> 
> -- Snip --
> #!/usr/local/bin/perl
> print "Content-type: text/plain\n\n";
> for(keys %ENV){
>  print "\$ENV{$_} => $ENV{$_}\n";
> }
> -- Snip --
> 
> "Sascha E. Pollok" wrote:
> > 
> > Dear folks,
> > 
> > I know that this is some apache-specific thingie and not an mod_ssl
> > one but I just noticed that and hope that one of you could help
> > me with this even though it's off topic.
> > 
> > Why don't perl-scripts get REMOTE_USER from Apache when
> > they (the scripts) have been run by METHOD=POST instead
> > of METHOD=GET?
> > 
> > Regards,
> > Sascha
> > ______________________________________________________________________
> > Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> > User Support Mailing List                      [EMAIL PROTECTED]
> > Automated List Manager                            [EMAIL PROTECTED]
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
> 
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to