diff --git a/conf/httpd.conf b/conf/httpd_vhost.conf similarity index 85% rename from conf/httpd.conf rename to conf/httpd_vhost.conf index 459c035..a2501f1 100644 --- a/conf/httpd.conf +++ b/conf/httpd_vhost.conf @@ -12,10 +12,10 @@ 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 ^/(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$2 + AliasMatch ^/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^/(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /$2/$3 [L] + RewriteRule ^/([a-z]{2}/)?(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /$3/$4 [L] ScriptAlias / /opt/vroom/public/vroom.pl/ require all granted @@ -31,7 +31,7 @@ Header append Vary User-Agent env=!dont-vary - + ExpiresActive On ExpiresDefault "access plus 1 month"