Apache reverse proxy add http request header according to REMOTE_USER use RewriteRule and RequestHeader
I’m trying to set up an Apache reverse proxy on server B for a private server A, which has three users: a1, a2, and a3. Server B utilizes a TXT map file to map all kinds of users on server B (b1,b2…) to server A (a1,a2,a3). Server A uses the header “X-GROUP” as its user name.