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

262
Views
how to get http_referer in nginx mod_perl

I have an nginx mod perl module which gets data and takes action based on parameters in my script I am not able to get the http referer

I am trying

$r->header_in("http_referer")   # Gives an undefined string
$r->headers_in()    # func not defined

How can I get all the headers passed by the http client inside my function

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

$r->header_in("http_referer")   # Gives an undefined string

The request header field you are looking for is not http_referer but referer, i.e. useheader_in("referer"). See MDN documentation for more on this field.

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!