innhold/content/.htaccess
Ruben 57a3fcb86e 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
2025-10-02 18:43:16 +02:00

14 lines
334 B
ApacheConf

DirectorySlash Off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# 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
RewriteRule ^(.*)$ /index.php [L,QSA]
</IfModule>