Added the .htaccess

This makes sure that any paths is being resolved by the index.php file.
This commit is contained in:
Jepp9350
2024-12-16 08:53:16 +01:00
commit b831ad9332
+14
View File
@@ -0,0 +1,14 @@
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<IfModule mime_module>
AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit