whipworks

Well-Known Member
Aug 19, 2014
169
7
68
cPanel Access Level
Reseller Owner
Hi! Is the CPanel server capable of reading .shtml file extensions? If so, is there anything we need to activate or install for this to work? How will I know if it's capable of reading this file?

Thanks! :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

Yes, the following entries are added by default in the Apache configuration file:

AddHandler server-parsed .shtml
AddType text/html .shtml

Thus, SHTML files should load well.

Thank you.
 

whipworks

Well-Known Member
Aug 19, 2014
169
7
68
cPanel Access Level
Reseller Owner
Error shows on the page

"Directory Listing Denied
This Virtual Directory does not allow contents to be listed."

There's a index.shtml file.
 

whipworks

Well-Known Member
Aug 19, 2014
169
7
68
cPanel Access Level
Reseller Owner
Oh hey Infopro. We were uploading a new site that has .shtml extensions. We did so, but when going to the site, that error above as I mentioned shows up. Not sure if it was loaded properly or somethings wrong.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Do you have any entries in the .htaccess file within the account's home or public_html directory? Do you have an "index.shtml" file uploaded?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Do you have any entries in the .htaccess file within the account's home directory, public_html directory, or the subdomain's directory?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
I am happy to see the issue is now addressed. Thank you for updating us with the outcome.