From 57a3fcb86e7a7b9b70990db97b02808f7c94d36f Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 2 Oct 2025 18:43:16 +0200 Subject: [PATCH] Update app routing to use index.php instead of proxy Remove app proxy rule and add condition to route /app requests to index.php while preserving other existing behavior --- content/.htaccess | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/.htaccess b/content/.htaccess index 39d9239..5bbdf2e 100644 --- a/content/.htaccess +++ b/content/.htaccess @@ -3,12 +3,12 @@ DirectorySlash Off RewriteEngine On RewriteBase / - - # Serve static files from /app outside document root - RewriteRule ^app/(.*)$ /app-proxy.php?file=$1 [L,QSA] - + + # Route /app requests to index.php + RewriteCond %{REQUEST_URI} ^/app/ + RewriteRule ^(.*)$ /index.php [L,QSA] + # Don't rewrite if file exists RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_URI} !^/app/ RewriteRule ^(.*)$ /index.php [L,QSA]