Questions tagged [requestheader]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
91 views

What is the request line for HTTP/2?

For HTTP/0.9: GET / For HTTP/1.0: GET / HTTP/1.0 For HTTP/1.1: GET / HTTP/1.1 Host: example.com What is the request line for HTTP/2? Is it something like: GET / HTTP/2.0 Or HTTP/2?
0
votes
0answers
14 views

What cdn or cache modifies max-age dynamically as content ages?

I am trying to determine what is caching web page responses within the server infrastructure in a transparent cache like behaviour. The cache header defined by the origin server is fixed one hour (...
0
votes
0answers
33 views

Apache X-Authorization request header

I'm using Basic file type authorization in my Apache httpd configuration. And my http request contains X-Authorization request header instead of Authorization. I'm getting unauthorized error. How can ...
0
votes
1answer
572 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
1answer
42 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 ...
1
vote
1answer
659 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-...
1
vote
1answer
4k 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 (...
1
vote
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
3k 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
5k 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
345 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
14k 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
310 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
19k 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 ...
2
votes
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 ...