Enable mod_headers and mod_expires on Apache

Created on 1 August 2021, over 3 years ago
Updated 9 May 2024, 8 months ago

Problem/Motivation

Looks like https://git.drupalcode.org/project/drupalci_environments/-/blob/producti... enables rewrite but not headers.

Drupal's .htaccess file adds stuff within <IfModule mod_headers.c>. πŸ› Duplicate X-Content-Type-Options headers both with the value nosniff Fixed discovered a bug with it, and we want to ensure that the test coverage for it runs correctly on DrupalCI.

Steps to reproduce

Proposed resolution

Add a2enmod headers within apache.m4.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Component

Miscellaneous Containers

Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024