1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Error: "500 Internal Server error"
Error 500 may have various origins related in general to your site development. If the error occurs after a change is made on one of your pages, restore the previous version of the file: https://faq.infomaniak.com/2217
Apache2, which is installed on our servers, is strict about syntax errors, especially rewrites of your .htaccess files.
If your home page or any other page displays an error, rename the .htaccess file. Alternatively, comment out every line with # and then uncomment them line by line until you arrive at the part that is causing the problem.
Here is an example of a rewrite rule that was accepted in Apache 1.x but which is no longer valid in 2.x:
<code>RewriteRule ^fr/appartement/([a-zA-Z0-9]+)Pieces.htm$./fr/appartement/$1Pieces.php [L]</code>The P is not valid.
In addition, when moving to Apache2, some modules are no longer supported on our servers:
mod_auth_anon, mod_auth_dbm, mod_authz_dbm, mod_cern_meta, mod_imap, mod_imagemap, mod_mime_magic