innhold/content/.htaccess

22 lines
616 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>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php84” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-alt-php84 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit