At 01:16 PM 7/4/2005, Markus Wichitill wrote:
Eric wrote:
Since our move from a internal office machine that was not using SSL to
an outside machine that is, I have not been able to get the Basic user's name.
Do you have "SSLOptions FakeBasicAuth" enabled? That would probably
overwrite the normal $r->user with the name from the SSL client
certificate (non-existent in your case).
No, I just have this:
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
I should end up with a user in that case anyway, it would just be the wrong
from some part of the cert info.
I did find one post that complained about a CGI env where +StdEnvVars
seemed to break %ENV, but removing this directive made no difference. I am
calling a .cgi named script, so the above section would apply.
my $r = Apache->request(); #
my $c = $r->connection;
my $user = $c->user();
BTW, non-deprecated and mp2-compatible version:
my $r = shift @_;
my $user = $r->user;
I am still breaking skulls with my hands, while you guys have moved up to
using femurs :) (See 2001)
Thanks,
Eric