I'm having trouble installing MantisBT 2.25.8 on Fedora 38 (remote server), I guess, linked to the error:
Server configurations :The resource at the address "https://monSite.com/admin/install.php" has been blocked due to an incorrect MIME type ("text/html") (X-Content-Type-Options: nosniff).
• Fedora 38 Linux
• PHP 8.2.11 (cli)
• Zend Engine v4.2.11v(with Zend OPcache v8.2.11)
• Apache/2.4.57
• OpenSSL/3.0.9
• Mysql 8.0.34 (for Linux on x86_64)
Mantisbt 2.25.8 downloaded, unzipped, renamed and positioned under /var/www/html/mantisbt:
Several sites are hosted on this server. Each has its own Apache configuration file.
For Mantis, we have the file « monSite.com.conf », on « /etc/httpd/sites-available », containing:
Code: Select all
<VirtualHost *:80>
ServerName monSite.com
Redirect permanent / https://monSite.com
</VirtualHost>
<VirtualHost *:443>
ServerName monSite.com
ServerAdmin no-reply@monSite.com
ServerAlias www.monSite.com
DocumentRoot /var/www/html/mantisbt
SSLEngine On
SSLProtocol All -SSLv2 -SSLv3
SSLCompression Off
<Directory /var/www/html/mantisbt>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
SSLCertificateFile [myCode]
SSLCertificateKeyFile [myCode]
SSLCertificateChainFile [myCode]
LogLevel warn
ErrorLog /var/log/httpd/monSite_com_error.log
CustomLog /var/log/httpd/monSite_com_custom.log combined
</VirtualHost>
• I have modified the Apache configuration file several times to try to remove the error:
But it’s always there.The resource at the address "https://monSite.com/admin/install.php" has been blocked due to an incorrect MIME type ("text/html") (X-Content-Type-Options: nosniff).
When I fill in the installation options and clic on to the "Install/Update" step, everything goes smoothly until the step « Attempting to connect to database as user » (I try manual connection : it's ok):
Then the installation stops. The database isn't populated, we don't have the configuration files...
Do you know what could be causing these problems in my Apache configuration? Or is it linked to another problem?
Thank you for your help