A
A
Andrzej Wielski2016-01-22 16:48:53
Apache HTTP Server
Andrzej Wielski, 2016-01-22 16:48:53

How to set Header in htaccess?

Hello.
I have this htaccess rule:

RewriteRule ^sessions/(.*?)$ http://somesite/sessions/$1 [QSA,P,L]

I would like to pass the Headers I need with this proxy request.
I do not want to make a bicycle on Curl.
Googling yielded no results. I tried all the options - the headers I need are not transmitted.
How to proceed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question