Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
How to set the REMOTE_USER variable from Apache 2.4

I have created a specific file in conf format in Apache. The goal is to set the REMOTE_USER into the conf file. I have tried to use RequestHeader tag, but it doesn't work.
Anybody have any idea to deblock my issue please.

<IfModule !mod_headers.c>
   LoadModule headers_module modules/mod_headers.so
</IfModule>

<LocationMatch ^/+Windchill/+authBadge(;.*)?>
  Require all granted
  RewriteEngine On
  RequestHeader set X-Remote-User "MY_USER"
</LocationMatch>

I use the Apache version 2.4.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

instead use the following methods:

RequestHeader set X-Remote-User expr=%{REMOTE_USER}

there is also a solution with mod_ssl

RequestHeader set X-Remote-User %{REMOTE_USER}s
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!