From a5a08048b5fa4ee1afd9ed6cd7c677da65679192 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 26 May 2014 22:26:18 +0200 Subject: [PATCH] Take langage suffix into account in httpd_alias.conf --- conf/httpd_alias.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/httpd_alias.conf b/conf/httpd_alias.conf index 9b7600e..ff364f6 100644 --- a/conf/httpd_alias.conf +++ b/conf/httpd_alias.conf @@ -2,10 +2,10 @@ ProxyPass /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket ProxyPassReverse /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket ProxyPass /socket.io/ http://localhost:8888/socket.io/ ProxyPassReverse /socket.io/ http://localhost:8888/socket.io/ -AliasMatch ^/vroom/(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$2 +AliasMatch ^/vroom/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^/vroom/(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /vroom/$2/$3 [L] +RewriteRule ^/vroom/([a-z]{2}/)?(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /vroom/$3/$4 [L] ScriptAlias /vroom /opt/vroom/public/vroom.pl SSLRequireSSL on