What could be causing a 403 Forbidden error when trying to redirect index.html to index.php using mod_rewrite?

The 403 Forbidden error could be caused by incorrect file permissions or a misconfiguration in the server settings. To solve this issue, you can try adjusting the file permissions of the .htaccess file or the directories involved, and also check the server configuration to ensure that mod_rewrite is enabled and properly configured.

RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ index.php [L]