From a6beecdbd40d5afd2a6c58d6aa60d5866a684fe5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Feb 2015 12:36:11 +0100 Subject: [PATCH] Adapt httpd_vhost.conf sample --- conf/httpd_vhost.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/conf/httpd_vhost.conf b/conf/httpd_vhost.conf index 8da0e24..e98c4c7 100644 --- a/conf/httpd_vhost.conf +++ b/conf/httpd_vhost.conf @@ -26,20 +26,17 @@ # ProxyPassReverse /etherpad/ http://localhost:9001/ + AliasMatch ^/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/([a-z]{2}/)?(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /$3/$4 [L] - ScriptAlias / /opt/vroom/public/vroom.pl/ ProxyPass / http://127.0.0.1:8090/ ProxyPassReverse / http://127.0.0.1:8090/ ProxyPreserveHost On - - Require all granted - SSLRequireSSL on - + Require all granted AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css SetOutputFilter DEFLATE