0

Is there any way I can actually tell if a SetEnv variable is being loaded by Apache?

I am trying to set:

SetEnv proxy-sendchunked 1

However have no way in telling if it is actually being set. Is there any logging that can be enabled to show it is being picked up?

user9517
  • 115,471
  • 20
  • 215
  • 297
Ben
  • 3
  • 2

1 Answers1

2

Environment variables can be logged in the access log using the LogFormat option %e.

Put "%{VAR}e" as an additional argument to LogFormat directive in your configuration file. Then in access log, value of VAR will be placed in each log.

Sachin Divekar
  • 2,525
  • 2
  • 21
  • 23