Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4760

Full uri Method

$
0
0

@mho wrote:

hello,
i have 3 devices android, apple and microsoft client:
send a request with my method “MYMETHOD” https://myserver.com/myapp.

But in the hapoxy debug log i see for android and apple:
fe_vip_443.clireq[0013:ffffffff]: MYMETHOD https://myserver.com/myapp/ HTTP/1.1

and for windows:
fe_vip_443.clireq[0017:ffffffff]: MYMETHOD /myapp/ HTTP/1.1

and it’s working for android and apple client.

i want to rewrite with fulluri, i try to capture and transform request but it’s not working.
acl apps path_beg /apps
http-request set-var(txn.myvar) str(https://myserver.com/myapp/) if apps
http-request set-uri %[var(txn.myvar)] if apps
i see in log the %[var(txn.myvar)] content and it’s good value but stay the same.

i try manually with curl -D - https://myserver.com/myapp/ -X MYMETHOD
i see the same thing in haproxy debug log
how to forge request to have:
fe_vip_443.clireq[0013:ffffffff]: MYMETHOD https://myserver.com/myapp/ HTTP/1.1

thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4760

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>