[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] mod_headers...
From:       "Glenn McCorkle" <glennmcc () glennmcc ! org>
Date:       2021-10-25 18:40:46
[Download RAW message or body]

On Mon, 25 Oct 2021 13:06:41 -0400, Eric Covener wrote:

> On Mon, Oct 25, 2021 at 1:04 PM Glenn McCorkle <glennmcc@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.

Yep... that was it.

When the upgrade was done from v2.4.48 to v2.4.51 I made all needed
changes in the new httpd.conf _except_....

AllowOverride was still set to 'None'.


-- 
 http://www.glennmcc.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic