slatibart has asked for the wisdom of the Perl Monks concerning the following question:
I have a simple .htaccess
Authentification is working.AuthType Basic AuthName "Test" AuthBasicProvider file AuthUserFile /path .. /www/cgi/test/.htpasswd AuthGroupFile /dev/null <Limit GET> require valid-user </Limit> Options -Indexes
remote_user is set when i use GET to access the perl script in this dir. When i use POST the remote_user is empty. I've couldn't find a confirmation on the web/docs but indications seems that only the first the the authentication runs the apache sets remote_user. And it doesn't work with perl.
So, is that true and if yes.
How can i change this behavior ?
I've already looked at CPAN but all the solutions or frameworks looks to be big for me. I only want to keep the remote_user variable.
What would be the best approach ?
Thanks !
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Apache remote_user lost with POST
by MidLifeXis (Monsignor) on Jun 16, 2011 at 14:08 UTC | |
by slatibart (Sexton) on Jun 16, 2011 at 14:19 UTC |
Back to
Seekers of Perl Wisdom