There is mod_setenv for adding:
setenv.add-response-header = ( "Header" => "value" )
But I can't find anything to remove response headers.
I have to be sure, that my content is not cached by mobile operator proxies. On Apache I was doing it with:
<Directory "/path/to/dir"> Header set Cache-Control "no-cache, must-revalidate" Header add Pragma "no-cache" Header unset Last-Modified RequestHeader unset If-Modified-Since </Directory>
How can I do that in lighttpd?