643 reputation
1627
bio website
location
age
visits member for 5 years, 8 months
seen Dec 22 at 18:35

Dec
24
awarded  Notable Question
Dec
10
comment Varnish ESI not working
Just a note that for Varnish v4 the flag is now -p feature=+esi_disable_xml_check
Dec
3
accepted Header unset seems not to work with apache 2.4.10 and php-fpm
Dec
3
comment Header unset seems not to work with apache 2.4.10 and php-fpm
Aha, I am able to use %{X-Userid}o (I mixed up the i and the o) but only if I don't unset the header... and I'd prefer for the userid to not leak out in the headers. I'll continue poking away at this..
Dec
3
comment Header unset seems not to work with apache 2.4.10 and php-fpm
Thanks for the reply. Indeed, Header always unset X-Userid removes it from the response. Note that Header unset X-Userid always (with always at the end) results in a config error on restart. While the above did work, I'm still unable to note the value for use in the log as %{userid}n, nor am I able to pull it from the headers with %{X-Userid}i, which the docs state I should be able to do.
Nov
25
comment Header unset seems not to work with apache 2.4.10 and php-fpm
Thanks for your help! I'll just remain on mod_php for now and check back on this issue in a month or two.
Nov
25
revised Header unset seems not to work with apache 2.4.10 and php-fpm
clarified apache version
Nov
25
comment Header unset seems not to work with apache 2.4.10 and php-fpm
Downgraded to 2.4.7 and the issue remains. Any headers I set from php cannot be unset or noted from Apache, whereas any headers set from within Apache can be unset from within Apache as well.
Nov
24
comment Header unset seems not to work with apache 2.4.10 and php-fpm
Server version: Apache/2.4.10 on Ubuntu 14.04
Nov
24
revised Header unset seems not to work with apache 2.4.10 and php-fpm
added full vhost config
Nov
24
comment Header unset seems not to work with apache 2.4.10 and php-fpm
If I try to overwrite X-Userid it instead sends two X-Userid headers, one with the ID and one with test... Super weird.
Nov
24
comment Header unset seems not to work with apache 2.4.10 and php-fpm
also confirmed that Header unset test prevents the test header.
Nov
24
comment Header unset seems not to work with apache 2.4.10 and php-fpm
confirmed that Header set test test works with php-fpm. I see the header delivered to the client.
Nov
24
awarded  Critic
Nov
24
comment Header unset seems not to work with apache 2.4.10 and php-fpm
for reference I'm following this answer: stackoverflow.com/a/26068354/39539
Nov
24
comment Header unset seems not to work with apache 2.4.10 and php-fpm
The header I set is visible to the client (ie, it is not Header unset). I'm using Header note X-Userid userid because that is what works with mod_php, and is specified in the instructions I've followed elsewhere. What should I use instead record the X-Userid header as an apache note for the log? If not a note, then what?
Nov
24
asked Header unset seems not to work with apache 2.4.10 and php-fpm
Oct
20
awarded  Yearling
Sep
15
awarded  Popular Question
Sep
6
awarded  Notable Question