Modifying an environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx".

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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux