• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using variables available in Perl scripts in httpd.conf file

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a use-case that I need to use the variables available in Perl in my httpd.conf file.

First, I call the Perl scripts, I set the variables. Then in the httpd.conf file, I call the variable to set request headers.


The use-case is: I need to encrypt the value of a request header which I intend to do in perl and then using RequestHeader in httpd.conf, I set the value that I get from Perl.



PLEASE HELP!!!
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help with WHAT? You didn't actually ask a question anywhere.

Do you have perl installed?
Do you know how to run perl?
Do you know how to write a perl program?

Without you telling us what exactly the problems is, what you have tried, what happened, and what you expected to happen, about the only help you can expect is "Start here".
 
Madangopal Venkatesan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question is, i want to modify request headers and set its value to a value returned from a perl script in httpd.conf. how do i do that?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic