11-Jan-2021, 09:52 PM
Thanks, this helped me get part way there. I fixed the /comments/ line and made sure install folder was deleted.
I tried renaming as a .php file and everything immediately worked perfectly.
However, when I tried adding the two sample lines below into the .htaccess file (first tried one, then the other), I still get nothing in my .html test.
AddHandler application/x-httpd-php5 .html .htm .shtml
AddHandler x-httpd-php5-cgi .html .htm .shtml
Here's how my .htaccess file reads now:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
AddHandler x-httpd-php5-cgi .html .htm .shtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Are there any other tricks I should try or am I just going to need to use .php for any pages with comments?
Thank you!
I tried renaming as a .php file and everything immediately worked perfectly.
However, when I tried adding the two sample lines below into the .htaccess file (first tried one, then the other), I still get nothing in my .html test.
AddHandler application/x-httpd-php5 .html .htm .shtml
AddHandler x-httpd-php5-cgi .html .htm .shtml
Here's how my .htaccess file reads now:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
AddHandler x-httpd-php5-cgi .html .htm .shtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Are there any other tricks I should try or am I just going to need to use .php for any pages with comments?
Thank you!