Now I understand what is my problem. I should have specified something like following example. DocumentRoot /home/iida/apache-2.4.43/htdocs <Location /dir_name> Header set Pragma no-cache Header set Cache-Control no-cache </Location> Now apache added headers if I access to html under /dir_name. Thanks for the comment. Masanari Iida On Tue, Apr 14, 2020 at 8:05 PM Eric Covener <covener@xxxxxxxxx> wrote: > > On Tue, Apr 14, 2020 at 12:49 AM Masanari Iida <standby24x7@xxxxxxxxx> wrote: > > > > Hello > > > > I would like to use "Header set " directive within Location directive. > > But it doesn't work. > > Example. > > <Location /home/iida/apache-2.4.43/htdocs> > > ^^ Looks a lot like a Directory argument. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx