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:
parent
a6e688d2b9
commit
8484aab187
1 changed files with 1 additions and 2 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue