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]