- Plesk for Linux
Index.html page is downloaded instead of being opened.
RedHat-based OS is used.
Missing headers in Apache configuration files.
- Connect to the server using SSH.
- Make sure following headers are added in
CONFIG_TEXT: AddHandler server-parsed .html
AddType application/x-httpd-php .html .htm .php
AddType application/x-httpd-php5 .html .htm
AddType text/html .html .shtml
- To apply changes in configuration file reload the service:
# service httpd reload