From 8484aab187ffa987ec187e303c0cf9567af2c8b2 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 11 Mar 2026 13:54:19 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20Apache=20rewrite=20=E2=80=94=20match=20by?= =?UTF-8?q?=20extension=20instead=20of=20REQUEST=5FFILENAME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit REQUEST_FILENAME doesn't resolve correctly with Alias; use extension check instead. Co-Authored-By: Claude Sonnet 4.6 --- olivas-apache.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/olivas-apache.conf b/olivas-apache.conf index e8d890a..30d3128 100644 --- a/olivas-apache.conf +++ b/olivas-apache.conf @@ -22,8 +22,7 @@ Require all granted RewriteEngine On RewriteBase /olivas/ - RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} !\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot|map|json)$ RewriteRule ^ index.html [L]