Overview
Using the new Apache Optimizations: feature Enforce Canonical URLs in a Multisite installation with Domain Mapping is causing a bug for Sub Sites in the multisite network. Images and theme files are malfunctioning while Enforce Canonical URLs is activated.
Steps to Reproduce
- Setup a Sub Site on a clean Multisite Network
- Upgrade to/install Comet Cache Pro v160706 / v160709 for Multisite
- Upload media files
- Configure Multisite Domain Mapping
- Activate
Enforce Canonical URLs under Dashboard → Comet Cache Pro → Plugin Options → Apache Optimisations
Expected Behavior
Sub Site should load and function normally like so:

Observed Behavior
Sub Site images are missing/broken, and theme files are malfunctioning.
See image below:

Temporary Fix
Do not use Enforce Canonical URLs in the mean time
Referencing internal ticket: https://websharks.zendesk.com/agent/tickets/13367