Questions tagged [requestheader]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
75 views

UseCanonicalName On applied however host of request header still wasn't change

I had an issue with website redirection and I found that my rewritecond input= 'www.example.com' and my request header host = 'example.com'. So I try to apply UseCanonimalName On in vhost where my ...
0
votes
0answers
23 views

How to hide “the HTTP request header” from target server log point of view with apache2 reverse ProxyPass

Summary : We are a team of 5 person around the world and we want to be able to connect ourself to a commercial domain with only a single IP Adress (Apache Proxy Server IP adress) in order to be seen ...
0
votes
1answer
25 views

Apache: No custom headers in environment variables

I've just installed a new webserver (Debian Buster, Apache, Dovecot, ISPConfig) to replace an old webserver. One of my websites uses custom request headers (through Javascript) to pass information to ...
0
votes
0answers
54 views

Config balance haproxy with use tags in header on request

I have a question about config balance with use haproxy. I want config balance with use header tags on requests. I have 2 tag - kasko, osago and default_backend. How I can config balance for tags - ...
1
vote
1answer
534 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
3k 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
2k 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
2k 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
330 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 ...
2
votes
1answer
13k 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
305 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
17k 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 ...