Fix Apache rewrite — match by extension instead of REQUEST_FILENAME

REQUEST_FILENAME doesn't resolve correctly with Alias; use extension check instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-03-11 13:54:19 +00:00
parent a6e688d2b9
commit 8484aab187

View file

@ -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]
</Directory>