i change an already existing website who is hosting by OVH
there was a little bit of php but i changed it because the website doesn't need a back-end server to run, front-end javascript is good enough I would like the web site to start with my index.html file because the index.php doesn't need to exist anymore, but I don't know how to do that
I tried to remove the .htaccess and the .ovhconfig because i thought they was usefull only for the php, and it broke nothing (good to begin) but it doesn't helped for my problem
the .ovhconfig content :
app.engine=php
app.engine.version=5.4
http.firewall=none
environment=production
the .htaccess content :
SetEnv PHP_VER 5_TEST
SetEnv REGISTER_GLOBALS 0
(there is another .htacess file with the same content in the parent folder)
Add this line to your .htaccess:
DirectoryIndex index.html
As it's described here: https://docs.ovh.com/gb/en/hosting/what_else_can_you_do_with_the_htaccess_file/