You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2021/10/25 17:06:41 UTC

Re: [users@httpd] mod_headers...

On Mon, Oct 25, 2021 at 1:04 PM Glenn McCorkle <gl...@glennmcc.org> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org