First, it only applies to a web server that's running Apache. Second, the server configuration has to allow per-directory configuration files, which by default are named "htaccess".
If those conditions are true, create a text file named ".htaccess" with the contents in my previous post, and placed it in the server's file system directory that contains the web page with the iframe.
Whether you can do that depends on how much access you have to your server.
There are other ways of dealing with that error you received. See this for more information:
https://github.com/godotengine/godot/issues/69020
An alternative is to use Godot 3.