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