You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Erik Thuning <th...@dsv.su.se> on 2020/10/13 13:02:21 UTC

[users@httpd] Modifying an environment variable

Hi!

I have apache 2.4 as a reverse proxy in front of a go application in 
order to integrate with my SSO. The proxied app apparently doesn't allow 
@ in usernames, which becomes a problem because all usernames that will 
be coming in from SSO are of the format "foo@example.com".

I would like to take the REMOTE_USER value, strip off the domain part 
and pass it on as a value in a custom request header. How can I achieve 
this?

Cheers,
Erik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org