33 lines
1.1 KiB
ApacheConf
33 lines
1.1 KiB
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>
|
|
|
|
# BEGIN cPanel-generated php ini directives, do not edit
|
|
# Manual editing of this file may result in unexpected behavior.
|
|
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
|
|
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
|
|
<IfModule php8_module>
|
|
php_value date.timezone "Europe/Paris"
|
|
</IfModule>
|
|
<IfModule lsapi_module>
|
|
php_value date.timezone "Europe/Paris"
|
|
</IfModule>
|
|
# END cPanel-generated php ini directives, do not edit
|
|
|
|
# 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
|