[squid-users] store_id_extras and http Request Headers
Michael Pro
michael.adm at gmail.com
Wed Jul 18 20:29:17 UTC 2018
In squid.conf
store_id_extras "%>a/%>A %un %>rm %>h myip=%la myport=%lp
%{User-Agent}>h %{Referer}>h %{Host}>h %>rP"
Result incoming parameters in store_id_program are:
0: https://2ip.ua/images/icon/IP_calculator.png <--- (requested url)
1: 127.0.0.119/127.0.0.119 <--- %>a/%>A
2: - <--- %un (this is ok, absent at all)
3: GET <--- %>rm
4: - <----- %>h ---> Where are they !?!?!?
5: myip=127.0.0.1
6: myport=20990
7: Mozilla/5.0%20(iPhone;%20CPU%20iPhone%20OS%2... <--- %{User-Agent}>h
8: https://2ip.ua/ru/ <--- {Referer}>h
9: 2ip.ua <--- %{Host}>h
10: 443 <--- %>rP
How do I get all the request header fields?
I do not need any separate, I need all fields in the request header.
Thanks in advance for the answer.
More information about the squid-users
mailing list