Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [requestheader]

RequestHeader is an Apache configuration directive. See also [tag:http-headers]

1
vote
1answer
268 views

Setting request header based on URI in an Apache reverse proxy

I'm configuring Apache 2.4 to run as a reverse proxy for several applications. One of these is Artifactory, which says I should use Apache to set a header ( the header is: X-Artifactory-Override-Base-...
0
votes
1answer
943 views

How to add a header using another header's value in Apache HTTP Server

My Apache server is proxying a request in which it receives a header (oidc_access_token). How can I add another header, Authorization, in the forwarded request with value that includes a prefix (...
0
votes
1answer
773 views

How to set a HTTP Request Header to the current date and time with IIS8

I am currently using a Microsoft IIS8 server as a reverse proxy for URL rewriting. Currently there is the issue, that i need to set a HTTP Request Header on the IIS. I already went ahead and created a ...
1
vote
1answer
1k views

Nginx - Even after adding the directive 'access control allow origin' the request logs error

I am trying to run nginx infront of my nodejs application (I am using windows machine) My NodeJS Application is running in 3000 port I have started the Nginx at 8070 port When i try to hit http://...
2
votes
1answer
4k views

Add a request header on mod_proxy based on the value of another request header

I have a server running mod_proxy and I need to essentially rename a request header. A proxy closer to the origin is stripping off the X-Forwarded-For header, but we need that data to persist, so I ...
1
vote
1answer
319 views

Apache2 - Forward a value from URL param OR cookie, whichever is present

I managed to use apache to strip off a url param and stuff it in a header to be passed on to another server. See this question for reference. Now I would like to add to this by getting the value for ...
1
vote
1answer
10k views

Where to type RequestHeader in apache?

I need to add to prevent attack: # a2enmod headers RequestHeader unset Range RequestHeader unset Request-Range Where I can add it? This is my htttp.conf, maybe another file? <VirtualHost *> ...
0
votes
1answer
293 views

416 Requested Range error in a Social Engine install

I am unfortunately saddled with a software package called Social Engine. Don't ever, ever buy it. It is extremely buggy and the tech support is beyond awful. Anyway, I asked (paid even) them to do ...
4
votes
1answer
15k views

Need to add request headers to every request in Apache

I'm trying to add a header value to every request via Apache (ver 2.2). I've edited my VirtualHost to include the following vaiations: (I've tried both RequestHeader and Header, add and set in all of ...
1
vote
3answers
13k views

Apache2 - mod_rewrite : RequestHeader and environment variables

I try to get the value of the request parameter "authorization" and to store it in the header "Authorization" of the request. The first rewrite rule works fine. In the second rewrite rule the value ...