Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-29 Thread Ken Mycock
n Tue, May 23, 2017 at 8:45 PM, Ken Mycock wrote: Eric It seems to make sense that REMOTE_USER wasn't set when the rule I tried in htaccess ran, as that would explain RU not being set. But, REMOTE_USER must be set by Apache, even if it is late in the sequence, so where/how can I

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Ken Mycock
wrote: On Tue, May 23, 2017 at 1:41 PM, Ken Mycock wrote: didn't set the RU environment variable either, so it's perhaps more fundamental than not being allowed to rewrite REMOTE_USER. IIUC It does not exist as an environment variable until right before the

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Ken Mycock
either, so it's perhaps more fundamental than not being allowed to rewrite REMOTE_USER. Ken On 23/05/2017 14:20, Rainer Canavan wrote: On Tue, May 23, 2017 at 2:10 PM, Ken Mycock wrote: [...] Hence, we need to allow authentication of either form of number but to strip leading zeros from

[users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Ken Mycock
I am involved in migrating a legacy site, using Apache authentication and cgi scripts, to a CMS based site which uses its own access control. The legacy site used membership numbers as the user name, but the CMS site uses zero padded versions of those numbers. So a user logging in to the lega