Re: [users@httpd] Header directive in Location

2020-04-14 Thread Masanari Iida
Now I understand what is my problem. I should have specified something like following example. DocumentRoot /home/iida/apache-2.4.43/htdocs Header set Pragma no-cache Header set Cache-Control no-cache Now apache added headers if I access to html under /dir_name. Thanks for the com

Re: [users@httpd] Header directive in Location

2020-04-14 Thread Eric Covener
On Tue, Apr 14, 2020 at 12:49 AM Masanari Iida wrote: > > Hello > > I would like to use "Header set " directive within Location directive. > But it doesn't work. > Example. > ^^ Looks a lot like a Directory argument. - To uns

[users@httpd] Header directive in Location

2020-04-13 Thread Masanari Iida
Hello I would like to use "Header set " directive within Location directive. But it doesn't work. Example. Header set Pragma no-cache Header set Cache-Control no-cache But in Filematch or Directory directive, "Header set" works. Header set Pragma no-cache Header set