From dbb440983859a7e5fd599e316ad8398051af830e Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 25 Dec 2018 19:08:16 +0100 Subject: [PATCH] Update apache proxy htaccess --- docker-entry.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-entry.sh b/docker-entry.sh index 585cc9d..e93b44c 100755 --- a/docker-entry.sh +++ b/docker-entry.sh @@ -3,8 +3,7 @@ # Add htaccess configuration cat >> /var/www/html/.htaccess < -ProxyPass /sites/ http://localhost/index.php/apps/cms_pico/pico/ -ProxyPassReverse /sites/ http://localhost/index.php/apps/cms_pico/pico/ +RewriteRule ^sites/(.*) http://127.0.0.1/index.php/apps/cms_pico/pico/$1 [P] MARK