Re: mod_headers...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 25, 2021 at 1:04 PM Glenn McCorkle <glennmcc@xxxxxxxxxxxx> wrote:
>
> Both of these lines in .htaccess work correctly to add the
> line into the headers in httpd v2.4.48
>
> Header set OS "Slackware64 v15.0"
> Header add Custom-Header "OS: Slackware64 v15.0"
>
> However... niether of them is working in httpd v2.4.51
>
> Same problem with httpd installed from the slackware64-current repostitory
> _and_ with a fresh build made from this source code.
>
> https://dlcdn.apache.org//httpd/httpd-2.4.51.tar.bz2
>
>
> Has the syntax changed somewhere between v2.4.48 & 2.4.51 ?
>
> Or has perhaps this 'feature' been removed all-together ?

Are you sure the htaccess file is being read?  If you type gibberish
in it and don't get a 500 error, the htaccess is not being read.
AllowOverride could be the culprit or something more subtle with a proxy config.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux