Implementing domain_proxy for the DAM assets to use a proxy path

Created on 9 January 2025, 11 days ago

Problem/Motivation

When assets are embedded onto pages, there is no way of defining the VanityURL to use for the assets which results in the DAM domain being used for all media within a site.

With the new config it should be possible to use VanityURLs within media embeds in a Drupal site.

This requires for the implementation of the mod_proxy apache module and the proper proxy rule to be setup so that the domain serves the DAM files as expected from the new URL structure.

Steps to reproduce

  1. Open the DAM configuration screen.
  2. Set the proxy URL to your site URL.
  3. Add a file to one of your forms after clearing the site cache.
  4. The embedded file should be using the proxy domain instead of the DAM domain.

Proposed resolution

Implement a configuration for defining the proxy path.

Remaining tasks

TBD

User interface changes

Changes to the form and UI.

API changes

None.

Data model changes

New config field.

Feature request
Status

Active

Version

1.1

Component

Code

Created by

🇨🇷Costa Rica esteban.arias

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

Comments & Activities

Production build 0.71.5 2024