innhold/content/.htaccess

15 lines
334 B
ApacheConf
Raw Normal View History

2025-10-02 17:01:55 +02:00
DirectorySlash Off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Route /app requests to index.php
RewriteCond %{REQUEST_URI} ^/app/
RewriteRule ^(.*)$ /index.php [L,QSA]
2025-10-02 17:01:55 +02:00
# Don't rewrite if file exists
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php [L,QSA]
</IfModule>