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 <[email protected]> wrote:
>
> On Tue, Apr 14, 2020 at 12:49 AM Masanari Iida <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]