From 10e4ccea630a8dd63295222951103a454103ec00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Thu, 17 Mar 2016 15:41:04 +0100 Subject: [PATCH] Emperra: alias dirs live --- customer/emperra/portal-esysta-com.pixelpark.net.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/customer/emperra/portal-esysta-com.pixelpark.net.yaml b/customer/emperra/portal-esysta-com.pixelpark.net.yaml index a7efd37a..65deee0c 100644 --- a/customer/emperra/portal-esysta-com.pixelpark.net.yaml +++ b/customer/emperra/portal-esysta-com.pixelpark.net.yaml @@ -278,6 +278,8 @@ site::profile::apache::vhosts: path: '/var/www/esysta/portal/media' - alias: '/site-video' path: '/var/www/esysta/portal/site-video' + - alias: '/static' + path: '/var/www/esysta/portal/static' rewrites: - portalonly: comment: 'Alles auf doc umleiten.' @@ -332,6 +334,8 @@ site::profile::apache::vhosts: path: '/var/www/esysta/portal/media' - alias: '/site-video' path: '/var/www/esysta/portal/site-video' + - alias: '/static' + path: '/var/www/esysta/portal/static' custom_fragment: | SetEnvIfNoCase ^X_DEVICE_ID$ ^(.*)$ fix_device_id=$1 RequestHeader set X-DEVICE-ID %%{BLUBB}{fix_device_id}e env=fix_device_id @@ -404,6 +408,8 @@ site::profile::apache::vhosts: path: '/var/www/esysta/portal/media' - alias: '/site-video' path: '/var/www/esysta/portal/site-video' + - alias: '/static' + path: '/var/www/esysta/portal/static' rewrites: - portalonly: comment: 'Alles auf mitarbeiter umleiten.' -- 2.39.5